E-commerce functionality requires dynamic pages to ensure visitors see the most up-to-date information, such as product prices, availability, and their shopping cart contents. A cached page shows a static version, which can result in outdated information being displayed to users.
For example: If a user adds an item to their cart, but the page is showing a cached version, the updated cart with the new item won’t be reflected, causing confusion.
Supported Caching Plugin Integration
To mitigate these issues, we specifically support integration with the following leading WordPress caching solutions. If you’re using any of these, please follow the linked instructions to configure them appropriately for membership functionality:
- WP Super Cache: Setup Guide
- W3 Total Cache: Setup Guide
Adapting to Other Caching Solutions
If your site utilizes a caching solution not listed above, inquire with your caching solution provider whether they support dynamically disabling caching for users with a specific cookie set. If affirmative, you can configure the solution to bypass caching for users with the following cookie name:
cart_in_use
Recommendations for Caching Configuration
Exclude Cart Page from Caching
The page containing the shopping cart should be excluded from caching.
Exclude Payment Pages from Caching
Pages containing ‘add to cart’ or payment buttons should be excluded from caching. These pages need to reflect real-time data to ensure accurate transactions.
Exclude Thank You Page from Caching
The Thank You page should also be excluded from caching. This page displays order confirmation and dynamic transaction details, which should always be current.