Cache Control: no-store and no-cache

What is the name of the domain?

allusefulinfocom

What is the issue you’re encountering

Cache Control Header showing: Cache-Control: no-store, must-revalidate, no-cache, max-age=0, private, post-check=0, pre-check=0 Expires Header Showing: Expires: Thu, 01 Jan 1970 00:00:01 GMT Last-Modified Header not showing

What are the steps to reproduce the issue?

Check the cache headers. You can check here: Online HTTP Cache Checker - Request Metrics 🦥

Enter the domain name in question and see yourself. You can also check using Chrome Dev Tools’s Network tab.

Screenshot of the error

Please someone reply. I am even using Respect Existing Headers, still facing these issues. Only when I remove the Cloudflare proxy and change to Gray cloud, it starts fetching the headers from the origin plugin WP Rocket.

For Workers & Pages, what is the name of the domain?

allusefulinfo.com

What is the error number?

Cache Control: no-store and no-cache

What is the error message?

Cache-Control: no-store, must-revalidate, no-cache, max-age=0, private, post-check=0, pre-check=0

What is the issue or error you’re encountering

Cache-Control: no-store, must-revalidate, no-cache, max-age=0, private, post-check=0, pre-check=0 Expires: Thu, 01 Jan 1970 00:00:01 GMT

What steps have you taken to resolve the issue?

Purchased the Cloudflare APO still no luck. Tried Browser TTL to Respect Existing Headers, but still no luck.

What are the steps to reproduce the issue?

Visit this website: Online HTTP Cache Checker - Request Metrics 🦥

Enter allusefulinfo.com and run the test you’ll see it’s not catchable and no headers are working. As well as Expires header is showing the date of 1970.

Screenshot of the error

The site does get cached for me.

1 Like

That test is missing a lot of information to make it useful, such as all the request and response headers. For all we know, it could have sent a no-cache cache control header and/or gotten a 403 response.

@laudian’s actual browser test shows it’s working. If the screenshot went down more, it’d also show the last-modified header.

2 Likes

Can you please explain what actually you want to say?

According to the screenshot attached by me as well as in the Chrome Dev Tools, the website for me still showing those 1970 Expires as well as no-store and no-cache cache control and no last-modified headers.

But, but, but, when I checked in an incognito window (not-logged in), all headers are showing in Google Chrome Dev Tools absolutely fine.

What does it mean? Can you please explain it to me.

That’s how it it supposed to work. Logged-out users get a cached version of your site, while logged-in users are bypassing cache, as it’s expected that logged-in users may each see different content.

2 Likes

Thanks a lot for clearing my doubt but why that tool of RequestMatrics (I shared in the screenshot as well as in the link) is sharing no-cache and no-store and 1970 expires for my website but working absolutely fine for many other websites on the internet. That’s why I was concerned.

As I have no insight into how their tool works, I can’t answer that.

2 Likes

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