From my understanding, if I set no-cache header to static JS files in my origin server response, Cloudflare should cache these files but use caches only after successful revalidation with origin server.
However, after this “no-cache” header is set, all requests shows that “cf-cache-status: MISS”. I have nginx that add weak etag to all files.
I am not sure if I missed any other headers here. How should the setup be if I want cloudflare to use cached static files after revalidate.
Here is an example response header that I got: