Optimize cache purging on high-traffic site
-
Hello,
I’m currently using the plugin on a high-traffic site where most pages are static.
I’ve set up page caching with rewrite rules to minimize server resources. The Maximum lifetime of cache objects is set to 3600 seconds, and the Garbage collection interval is set to 600 seconds.
However, I’m experiencing a spike in CPU usage every time the cron job runs every 10 minutes. It renames all expired *.html files to *.html_old, which causes a spike in CPU usage as all pages need to be rebuilt at the same time.
Is there a way to distribute the server loads more evenly? For example, can the expired HTML pages be cleared sequentially to reduce the CPU spikes?
Thank you.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.