The Cache Buster feature helps ensure your uptime monitoring results are accurate by preventing cached responses from being returned during health checks.
How It Works
When enabled, StatusDrift automatically appends a unique query parameter to each monitoring request. For example, if your URL is https://example.com/api/health, the actual request becomes something like https://example.com/api/health?_cb=1706789012345.
This unique parameter ensures that CDNs, proxies, and other caching layers treat each request as new, providing you with fresh responses that accurately reflect your server’s current status.
When to Use Cache Buster
Consider enabling cache buster when:
- Your website or API uses a CDN (Cloudflare, CloudFront, Fastly, etc.)
- Your server has aggressive caching headers
- You use a reverse proxy (Varnish, Nginx caching, etc.)
- You notice monitoring results seem stale or inconsistent
How to Enable Cache Buster
You can enable cache buster when creating or editing an HTTP/S or HTTP/S Keyword monitor:
1. Navigate to Monitors and click Add Monitor or edit an existing monitor
2. Select HTTP/S or HTTP/S Keyword as the monitor type
3. In the Basic Information tab, find the Cache buster toggle and enable it
4. Save your monitor