Your prompt
Make sure my FluentCart cart and checkout pages are excluded from page caching, then test a purchase while logged out.
What this prompt does
Cart and checkout pages are personal to each visitor, so they should not be served from a page cache. This prompt asks your assistant to make sure FluentCart’s pages are excluded and then test a purchase while logged out.
It is the same principle that applies to any online shop, applied to FluentCart’s pages.
Two kinds of test matter here: a guest purchase, which proves the cart works for someone with no account, and a purchase while logged in, which proves personal pages are not shared.
Be aware that different caching layers may sit on your site, such as a plugin, your host and a CDN. Ask your assistant to check each one, because an exclusion in one layer does not carry through to the others.
Before you run it
Cache changes can affect the whole site.
- Know which cache you use, whether a plugin or your host’s.
- Find the cart and checkout page addresses.
- Back up the current cache settings.
- Clear the cache once the rules are in place.
- Ask your assistant to tell you which cookies or paths the exclusions rely on.
What to check afterwards
- Buy a test product in a private window.
- Confirm cart contents persist between pages.
- Check the exclusion list contains the right pages.
- Verify a logged in customer never sees another person’s data.
- Try the checkout after clearing the browser cookies, since that mimics a new visitor.
- Compare the experience on mobile and desktop.
Ways to adapt it
- Add pages: Also exclude my account page.
- Report: Show me the current exclusion rules first.
- Test more: Run the purchase test on mobile as well.
- Ask for documentation: Write down which pages and cookies are excluded so I can reuse the list later.
If it goes wrong
- The cart is empty after adding a product. A cached copy is being served. Purge the cache.
- Your cache cannot exclude pages. Use another plugin or your host’s option.
- Checkout is slow. Excluded pages are not cached, so look at scripts and images instead.
- It works for you but not for customers. You may be logged in as an admin and bypassing the cache. Test in a private window.
For more background, read our guide to caching plugins compared and FluentCart setup guide, or work through the speed-up tutorial.