• Resolved born2excite

    (@born2excite)


    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.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Stoyan Georgiev

    (@stoyangeorgiev)

    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,
    Stoyan

    Thread Starter born2excite

    (@born2excite)

    Hey 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,
    Julian

    Thread Starter born2excite

    (@born2excite)

    Hey Stoyan @stoyangeorgiev

    Example 1
    Viewing site from Europe

    1. OLD footer content in is displayed on Home page
    2. NEW footer content is displayed on product pages

    Example 2
    Viewing site from Australia

    1. NEW footer content in is displayed on Home page
    2. NEW footer content is displayed on product pages
    New Content
    Footer right hand side 

    My site URL is https://oohlalazouk.com

    Thank You,
    Julian

    Plugin Author Stoyan Georgiev

    (@stoyangeorgiev)

    Hey 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,
    Stoyan

    WordPress 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 Cache link or wp-admin menu > SG Optimizer > SuperCacher settings > Dynamic Caching > Manual Cache Purge > Purge Cache results 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 3 years, 9 months ago by okrogerthat. Reason: adding cache setting details
    • This reply was modified 3 years, 9 months ago by okrogerthat. Reason: Added disable dynamic caching workaround
    Thread Starter born2excite

    (@born2excite)

    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 old content still kept showing in some countries while new content appeared in other countries.

    Workaround

    Added to .htaccess

    Header set Cache-Control: no-cache
    Header set CDN-Cache-Control: no-cache

    Also enabled ETags

    After fixing the cache problem, I removed the no-cache directive.

    In my experience, the SG Optimizer/Cloudflare full page caching doesn’t have effective cache busting.

    Kind regards,
    Julian

    Plugin Author Hristo Pandjarov

    (@hristo-sg)

    SiteGround Representative

    SGO 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.

    Thread Starter born2excite

    (@born2excite)

    Hey Hristo @hristo-sg

    You misunderstood completely. I had automatic purge enabled in SGO ever since activating full page cache. I applied the no-cache headers 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-cache headers to remove the old content. And, as I’ve already said in an earlier comment, I removed the no-cache headers.

    I had to disable SGO because SGO was NOT purging old content despite having automatic purge enabled. Unfortunately, Support did not help me.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Cloudflare Full Page Caching – loading Old Content’ is closed to new replies.