You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The cf-cache-status response header shows whether the CDN cached the object. HIT means the CDN sent the object from its cache. MISS means the CDN fetched it from the origin server.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
When you check whether a file is cached, the
cache-controlheader returnsprivate, no-cacheandcf-cache-statusdoes not returnHIT.Cause
You probably sent a
HEADrequest. Smart CDN doesn't cacheHEADrequests.Fix
Send a
GETrequest instead.Send a regular request
Send a range request
To avoid downloading the whole file, request only the first byte. The server responds with
206 Partial Contentand a 1-byte body:Check the cache status
The
cf-cache-statusresponse header shows whether the CDN cached the object.HITmeans the CDN sent the object from its cache.MISSmeans the CDN fetched it from the origin server.All reactions