Optimizing Cache Settings for Custom E-Commerce Plugin Performance

Status
Not open for further replies.
#1
Hi everyone,
I’m seeking some advice on optimizing LiteSpeed Cache for a specific scenario. I run an e-commerce website using a custom-built plugin that handles complex product configurations and dynamic pricing.
Here’s a bit of background on my setup:
  • WordPress Version: 6.3
  • LiteSpeed Cache Plugin Version: 5.3.1
  • Custom Plugin: [Name of Plugin]
  • Server Setup: LiteSpeed Enterprise with PHP 8.1
  • Caching Type: Dynamic caching is enabled, but I’m not sure if my settings are ideal.
Issues:
  1. Dynamic Pricing Updates: The pricing on my site changes frequently based on user selections. I’m concerned that aggressive caching might lead to outdated pricing being displayed.
  2. Product Configuration Pages: These pages are highly dynamic and can be different for each user session. I’m worried that caching might interfere with personalized configurations.
What I’ve Tried:
  1. I’ve enabled cache for dynamic content, but I suspect the default settings might not be sufficient for my use case.
  2. Adjusted cache TTL (Time to Live) values but still seeing issues with stale content.
Questions:
  1. Optimal Cache Settings: What settings should I adjust to ensure that my dynamic content, especially product configurations and pricing, are updated correctly without negatively impacting performance?
  2. Exclusion Rules: Are there specific rules or patterns I should apply to exclude certain pages or queries from being cached?
  3. Cache Purge Strategies: How can I set up cache purging to ensure that pricing updates are reflected in real-time?
Any advice or tips from those who have experience with similar setups would be greatly appreciated. Thanks in advance for your help!
 
Status
Not open for further replies.
Top