Cloudflare cache for no-cache

My Page Rule settings:
Origin Cache Control: enabled
Cache Level: Cache Everything

My Cache Control header returned from my origin server is no-cache, but the Cf-Cache-Status is: HIT. Shouldn’t it be REVALIDATED?

At least that’s want I read from doc:
no-cache Caches and always revalidates. Does not serve stale.
Resources that match a Cache Everything Page Rule are still not cached if the origin web server sends a Cache-Control header of max-age=0 , private , no-cache , or an Expires header with an already expired date.

I made some experiments and it does serve stale.

The cf-cache-status Header changes like the following while I refresh my page:
even after changing the original file, it will still show the old file.

I changed my Cache Control Header to:public, s-maxage=0, max-age=0, no-cache, it still doesn’t work. Same error.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.