Wordpress plugin bug: cache-control not respected after uninstall


Cloudflare serves a cached copy of the page that can be days old


the html page not to be stored at all ever and only a live version of the page sent

Workaround consided but rejected

Purge the cache myself but this has negitive side effects and does not
solve the issue of dynamic elements being served staticly


might be related to this:


ExpiresByType text/html “now”

page has meta tags

cloudflare page headers replys

age: 110
cache-control: no-store, no-cache, must-revalidate
cf-apo-via: cache
cf-cache-status: HIT
expect-ct: max-age=604800, report-uri="…"
expires: Thu, 19 Nov 1981 08:52:00 GMT
pragma: no-cache
report-to: {“endpoints”:[{“url”:"…"}],“group”:“cf-nel”,“max_age”:604800}
nel: {“report_to”:“cf-nel”,“max_age”:604800}

Cloudflare settings

Browser Cache TTL: Respect Existing Headers
Plan: Professional

Metatags deleted by the submit script

	<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
	<meta http-equiv="Pragma" content="no-cache" />
	<meta http-equiv="Expires" content="0" />

Looks like you are using APO for WordPress. You may disable it and try again.

1 Like

thanks for the speedy reply.
the plugin was uninstalled via wordpress looks like that did not turn off the cloudflare end.
reinstalled the plugin and turned it off for good this time. that was driving me crazy.

1 Like

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