Introduction
Proper cache configuration balances performance with freshness. The recommendations below help ensure visitors receive up-to-date content while minimizing server load.
Browser Cache
- Enable Browser Cache
- Time-to-Live (TTL): 24 hours
Instructs browsers to hold static assets (CSS, JS, images) for one day before revalidating, reducing repeat downloads.
Edge Side Includes (ESI)
- Leave all ESI settings at their default values.
Default ESI tags handle on-the-fly assembly of dynamic fragments without extra configuration.
Cache Purge
- Purge Scope:
- All Pages
- Daily Archive
- Keep other purge triggers at their default settings.
Purging “All Pages” ensures site-wide invalidation after major updates, while “Daily Archive” clears date-based archives each day.
Troubleshooting and FAQs
Q: Cache purge isn’t clearing pages as expected—what now?
A: Confirm the purge schedule (cron or webhook) is active..
Q: Will these settings work with a CDN?
A: Generally, yes—just ensure your CDN honors the origin cache headers (TTL) and purge requests from your origin or plugin.