How do we remove “cache-control: no-cache, must-revalidate, max-age=0” in response header? This is default value given by Cloudflare. This cache control header is set to 404 page.
That doesn’t look like a Cloudflare default. Is this on a static file (image/js/css)?
On your Caching settings page, do you have Browser Cache Expiration set to “Respect Existing Headers”?
Or maybe a Page Rule with a Cache setting?
Go to this domain “worldtest.win” and type anything random getting 404 page. In the response header, you can see 2 cache controls. This is " cache-control: public, max-age=3600" set by me. and don’t know, who sets this " cache-control:no-cache, must-revalidate, max-age=0". According to Google, this sets by CDN provider.
Yeah. Browser Cache Expiration sets to Respect Existing Headers.
I suspect it’s a WordPress plugin. Are you running a page caching plugin?
Oh, and if you want to find out for sure, that domain (then wait a few minutes for DNS to propagate), then watch the headers.
Ok. see you later. I’ll do DNS propagate.
This topic was automatically closed after 14 days. New replies are no longer allowed.