Path: SpeedyGo → Settings → Caching & Preloading
9.1 Overview #
This system ensures cache remains synchronized with content changes. It combines automatic cache invalidation with scheduled expiration rules to prevent stale content from being served.
How It Works Internally #
- Hooks into WordPress content update actions
- Triggers selective or full cache clearing when needed
- Uses WP-Cron for scheduled expiration cycles
- Prevents outdated cache from persisting long-term
9.2 Auto Purge #
Enable Auto Purge to automatically clear cache when:
- A Post is updated
- A Page is modified
- New content is published
- Comments are added
This prevents users from seeing outdated content and ensures real-time synchronization between your content and cached files.
9.3 Expiration Interval #
Define a cyclic cache clearing interval to refresh long-running cache files.
Examples:
- Every 6 hours
- Every 12 hours
- Every 24 hours
This ensures that even without content updates, cache files are periodically refreshed to maintain accuracy.
9.4 Best Practice Recommendation #
- Enable Auto Purge for dynamic or frequently updated sites
- Use shorter intervals for news/blog sites
- Use longer intervals for static business websites
- Combine with Cache Warm-Up to avoid performance drops
Scheduled Expiration & Auto Purge keeps your cache fresh while maintaining optimal performance.