Cloudflare Full Page Caching – loading Old Content
-
Hello Support. After activating Cloudflare Full Page Caching, old content continues loads even after deleting all cache from browser, SG Optimizer plugin and purging all cache from my Cloudflare dashboard.
I’ve used a VPN to test from different countries, to find still loading old content.
Please help.
-
Hey there @born2excite,
Have you added any caching rules to your Cloudflare account after activating the Cloudflare Full Page Caching through our plugin? Could you provide a site URL, so we can investigate the issue you are experiencing?
Kind regards,
StoyanHey Stoyan @stoyangeorgiev
I have no caching rules in my Cloudflare account. They were deleted when Full Page Caching was activated.
My site URL is https://oohlalazouk.com
Thank You,
JulianHey Stoyan @stoyangeorgiev
Example 1
Viewing site from Europe- OLD footer content in is displayed on Home page
- NEW footer content is displayed on product pages
Example 2
Viewing site from Australia- NEW footer content in is displayed on Home page
- NEW footer content is displayed on product pages
New Content Footer right hand sideMy site URL is https://oohlalazouk.com
Thank You,
JulianHey there @born2excite,
Could you provide specific steps to replicate the issue, since we could not replicate it on our end. Could you also provide a screenshot with the different footers?
We have noticed that the cached content served on your home page is the same as the newest one, meaning everything is working as expected.
Keep in mind that it may take some time for the cached content to be purged trough out the whole CDN Network.
Kind regards,
StoyanWordPress 5.7.2 Siteground SG Optimizer Plugin 5.7.20
Nginx Direct delivery on, Dynamic Cache on, memcached all sites off. Cloudflare Basic level.
We are having the same issue with old page content being cached and new page edits not displaying for end users.
Confirmed adding a query string to the end of the url (e.g. ?test=1 ) results in new page content displaying in browser correctly so page has been updated.
Rechecking normal url without extra test query string and clearing browser cache and refreshing page results in old content being displayed again.
Clicking on
Purge SG Cachelink orwp-admin menu > SG Optimizer > SuperCacher settings > Dynamic Caching > Manual Cache Purge > Purge Cacheresults in message “Dynamic Cache Successfully Purged”. However reloading page still displays old content.Automatic Cache Purge is on.
Visting Siteground Account > Site Tools > Speed > Caching > Dynamic Cache > subdomain > Actions: icon for Flush Cache and clicking the sweep icon reports “Success: Cache for subdomain.domain.org.nz flushed”.
Simple refresh of page displays new content.
Contacting Siteground support – they recommended using Siteground account flush through Site Tools only when needed – which is after every page edit! Not practical for a multisite wordpress install.
It appears in our case, with a multisite wordpress install on a subdomain within the main account with a wordpress install on the main domain, the Plugin “cache purge” and “auto cache purge” are not working. SG Optimizer is installed on both the domain website and the subdomain multisite.
The work around we have been forced to use is disabling Siteground “Dynamic Caching” by turning it off in the plugin. On doing this old content is still delivered. After disabling going into Siteground Site Tools and flushing one final time results in changes being shown instantly after each edit.
-
This reply was modified 5 years ago by
okrogerthat. Reason: adding cache setting details
-
This reply was modified 5 years ago by
okrogerthat. Reason: Added disable dynamic caching workaround
Hey Hey Stoyan @stoyangeorgiev
It literally took 3 weeks for the new content to update and appear when my website was viewed in different countries.
I gave up on this because I was so frustrated, I purged every type of cache as previously described but
oldcontent still kept showing in some countries whilenewcontent appeared in other countries.Workaround
Added to .htaccess
Header set Cache-Control: no-cache Header set CDN-Cache-Control: no-cacheAlso enabled ETags
After fixing the cache problem, I removed the
no-cachedirective.In my experience, the SG Optimizer/Cloudflare full page caching doesn’t have effective cache busting.
Kind regards,
JulianSGO cache busting works flawlessly if set correctly. With these headers you are effectively stopping all caching. This is not a workaround, but making a website slow. Make sure the automatic purge is enabled in SGO and disable all other caching solutions you may have. That looks like some sort of a conflict.
Hey Hristo @hristo-sg
You misunderstood completely. I had automatic purge enabled in SGO ever since activating full page cache. I applied the
no-cacheheaders 3 weeks AFTER SGO failed to purge old content. I manually purged SGO, purged browser cache and logged into my Cloudflare account to purge Cloudflare cache. But despite all this, old content was still being served.After 3 weeks, I used
no-cacheheaders to remove the old content. And, as I’ve already said in an earlier comment, I removed theno-cacheheaders.I had to disable SGO because SGO was NOT purging old content despite having automatic purge enabled. Unfortunately, Support did not help me.
The topic ‘Cloudflare Full Page Caching – loading Old Content’ is closed to new replies.