Your prompt
Turn on strong page caching for my product and landing pages while keeping the SureCart checkout working. Test a purchase afterwards.
What this prompt does
Product and landing pages are mostly the same for every visitor, so they suit strong caching. Checkout is not. This prompt asks your assistant to cache the first group hard while keeping the SureCart checkout working, then test a purchase.
The test purchase is what proves you have not cached something you should not.
Caching only helps pages that are the same for everyone. Product and landing pages are good candidates. Anything with a cart, account or checkout is not, which is why you test a purchase afterwards.
Be ready to explain to your assistant what is dynamic on your pages. A countdown, a stock message or a personalised greeting can be wrongly frozen by a full page cache, and those exceptions are easier to build in from the start.
Before you run it
Aggressive caching is the usual cause of stale pages.
- Know your caching tool.
- Back up its settings.
- Find your checkout page address.
- Decide how long cached pages should be kept.
- Decide whether pages that show stock or sale prices need a shorter cache.
- Check whether you use a CDN in front of the site, because it may cache pages separately.
What to check afterwards
- Buy a test product.
- Edit a product and check the change appears after the cache refreshes.
- Check the checkout in a private window.
- Compare page speed.
- Check that editing a product refreshes its cached page.
- Look for parts of a page that should change, such as stock messages, and check they update.
- Check the home and landing pages on mobile after caching, in case a layout depends on cookies or screen size.
Ways to adapt it
- Longer cache: Keep product pages cached for a day.
- Auto clear: Clear the cache when I update a product.
- Report: Tell me the rules you set.
- Add exceptions: Keep pages with a countdown or stock message out of the cache.
- Add measurement: Test the speed of the landing pages before and after.
If it goes wrong
- Prices look out of date. Purge the cache and shorten its lifetime.
- Checkout shows an error. Exclude it from caching.
- No speed change. Check the cache is on.
- A promotion price stays after it ends. Clear the cache on the day the promotion ends, or shorten the cache lifetime.
For more background, read our guide to caching plugins compared and SureCart guide, or work through the speed-up tutorial.