After switching my site over to Cloudflare and addressing some initial issues I’m still seeing a large number of uncached requests which I think occur because the server responds with an error code.
I just set up a 404 page with a cache-control header, but the page is still not getting cached.
For example: https://web-push-book.gauntface.com/unknown-page.html
Returns:
cache-control: 'max-age=86400'
cf-cache-status: BYPASS
Does anyone know what I can do to get Cloudflare to cache the request according to the cache-control header?
I have a page rule to cache everything but it doesn’t seem to affect this request.
Thanks,
Matt