Hi @jalo399,
Despite what it sounds like, the cache-control value of no-cache
doesn’t mean that the browser won’t cache the page.
Instead, it means that the browser should check with the server if it can serve a cached page, or should re-download it.
See the doc here: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control:
no-cache: The response may be stored by any cache, even if the response is normally non-cacheable. However, the stored response MUST always go through validation with the origin server first before using it, therefore, you cannot use no-cache in-conjunction with immutable. If you mean to not store the response in any cache, use no-store instead. This directive is not effective in preventing caches from storing your response.
This is used in conjunction with the 304 Not Modified
response header.
Also note that Cloudflare may override some of the headers.
Marc.