Can't clear website site cache

What is the name of the domain?

What is the issue you’re encountering

Posts show instantly when logged in, but don’t show for several hours for non-logged in users.

What steps have you taken to resolve the issue?

Deleted all other caching plugins.
Checked with the server and they say they have no server cache ongoing.
set up and installed the cloudflare Wordpress plugin, and “purged cache” but the latest post doesn’t show.
It’s a news website, they want to post live updates about election etc, but they’re taking several hours (or next day) until they show.

What are the steps to reproduce the issue?

see screenshot, left - logged in can see “Bright futures…” latest post, was published 3 hours ago at time of writing this.
Right side, not logged in, this latest post not showing. (Same on phone, not on wifi etc).

Screenshot of the error

That page is not not using Cloudflare cache, but Runcloud’s:

> GET /sport HTTP/2
> Host: www.nelondoner.co.uk
> User-Agent: curl/8.6.0
> Accept: */*
> 
< HTTP/2 200 
< date: Fri, 28 Jun 2024 14:22:09 GMT
< content-type: text/html; charset=UTF-8
< link: <https://www.nelondoner.co.uk/wp-json/>; rel="https://api.w.org/", <https://www.nelondoner.co.uk/wp-json/wp/v2/categories/15>; rel="alternate"; type="application/json"
< cache-control: max-age=5
< expires: Fri, 28 Jun 2024 06:37:13 GMT
< vary: Accept-Encoding
< x-frame-options: SAMEORIGIN
< x-xss-protection: 1; mode=block
< x-content-type-options: nosniff
< x-runcloud-cache: HIT <~~~~~~~~~~~~Runcloud's cache on your server
< x-runcache-type: native
< cf-cache-status: DYNAMIC <~~~~~~~~~Cloudflare is not caching
< report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=63VaBSDOGx85ivvsKIBPWtYbuSzeHBDrxmexpiW4CtW0v5TXV0LUFKWa3MTi3fIDhw%2BUWOwadX%2BoWq6zRsXPjOzFD5vj8MK0ErBycE%2B4hiKrBzQGwMVOoNApAyJHcTlFbYhR9W7iqA%3D%3D"}],"group":"cf-nel","max_age":604800}
< nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
< server: cloudflare
< cf-ray: 89ae53cb2a587ec3-LAX
< alt-svc: h3=":443"; ma=86400

Depending on your Runcloud setup, there should be a Runcloud icon at the top of your WordPress admin pages that will let you purge Runcloud cache.

4 Likes

I wanted to say Thank you so much for your help @sdayman - although Runcloud said their server cache wasn’t running at all (the plugin was deactivated), I didn’t know how to spot this - but your pointing it out allowed me to go in the right direction. It was on, as you spotted, it needed to have the plugin activated and on to be able to control it.
Anyway, thank you so much - it’s very much appreciated.

2 Likes

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