Why Do I Have a Low Cache Hit Percentage?
We honor all cache-control headers sent by your origin host to our CDN. So if you are passing a request to ‘no-cache’ a file, then we will not cache it on our network.
How to tell:
- Check Your Cache Hit % in the control panel. This is the percentage of files you are asking us to cache and the % of times those files are served from our network rather than from your origin.
- Run Cache Inspector on a particular file: If Cache-Control: no-cache If Pragma=no-cache Or if max-age= 0 Then we will not cache the file you are sending to us. You must change each of these on your origin server before we will be able to cache your file.
- Do your static files contain a query string? If you are passing static files to us with a query string attached, we might actually be caching each file, but due to the dynamic query string, each request for the file generates a new cache file url, so the cached file is never actually served again. You can correct this by disabling the query string option in Pull Zone –> ‘Advanced Features’ in the control panel.
Support