MightyPress provides multiple caching layers to keep your site fast and responsive. The Performance tab in your dashboard gives you control over page cache, object cache, and edge cache (CDN). This guide explains each layer and when to use them.
Cache Layers Overview
Your site uses three caching layers, each serving a different purpose:
- Page Cache — Stores fully rendered HTML pages so they load instantly without running PHP or database queries
- Object Cache — Caches database query results in memory so repeated queries are served faster
- Edge Cache (CDN) — Distributes cached content across a global network of servers, reducing load times for visitors worldwide
Purge Page Cache
Purging the page cache clears all stored HTML pages, forcing your site to regenerate them on the next visit. Use this when:
- You’ve updated content and changes aren’t appearing
- You’ve made theme or template changes
- You’ve updated plugins that affect frontend output
- You’re troubleshooting display issues
To purge, navigate to the Performance tab and click the Purge Page Cache button. The cache will rebuild automatically as visitors access your pages.
Flush Object Cache
Flushing the object cache clears stored database query results from memory. Use this when:
- You see stale or outdated data on your site
- You’ve made direct database changes
- You’ve installed or updated plugins
- You’ve modified WordPress options or settings
Click the Flush Object Cache button on the Performance tab. The object cache will repopulate automatically as your site processes new queries.
Edge Cache (CDN)
The edge cache distributes your content to servers around the world, so visitors load your site from the nearest location. This significantly reduces load times for international audiences.
Enable or Disable Edge Cache
Use the Edge Cache toggle on the Performance tab to enable or disable CDN caching. When enabled, static assets and pages are served from the global edge network.
Purge Edge Cache
If you need to clear the CDN cache (for example, after updating images or CSS), click the Purge Edge Cache button. This removes cached content from all edge servers, and fresh content will be distributed on the next request.
Tip: After making major site changes, purge all three cache layers to ensure visitors see the latest version of your site.
Need More Help?
If your site isn’t reflecting recent changes or you have questions about caching, reach out to MightyPress support for assistance.