• Resolved Generosus

    (@generosus)


    Good Day!

    Background:

    We are using SGO’s “Cloudflare Full Page Caching” (Workers) feature.

    Issue:

    Every time we make a small custom change to our WP dashboard (for example, change the font size and font weight of a dashboard widget), the change does not appear until we disable and/or clear Cloudflare’s cache.

    Discussion:

    We understand that your plugin automatically bypasses caching of wp-admin. Plus, as suggested by one of your SG support agents, we have also set up a custom rule in Cloudflare to bypass cache for /wp-admin/*. Apparently, this is not working.

    Request:

    Any thoughts on what’s going on? Can you revisit your code (and test it against a WP dashboard widget change) to make sure Cloudflare Full Page Caching (Workers) is properly bypassing cache of WP’s menu, plugins, and dashboard widgets?

    Useful Tip:

    We are not using any other caching plugin other than SGO and Cloudflare.

    Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Delyan Delov

    (@delyandelov)

    Hello @generosus,

    Such an issue could appear if you have any additional Page rules at CloudFlare. Could you please provide us with the domain you are experiencing the issue with so we can investigate the case further?
    Also, you can easily clear the CloudFlare cache using Purge SG Cache button in your WordPress dashboard.

    Regards,
    Delyan Delov

    Thread Starter Generosus

    (@generosus)

    Hi @delyandelov,

    Thanks for the quick reply. In response:

    (1) Click here for our website and to view our CF page rules. We only have two page rules and they were set up per SG’s guidelines.

    (2) Did SG recently update the functionality of the Purge SG Cache button such that it also clears Cloudflare’s cache? According to this recent post, SG stated the Purge SG Cache button does not yet clear Cloudflare’s cache.

    (3) Using a staging site, we were able to confirm that — without Cloudflare — our dashboard widget changes occur instantly after changing our backend files and clearing our browser’s cache.

    So, in short, we still believe SG Optimizer’s Full Page Caching feature (via Cloudflare Workers) is restricting our dashboard widget changes. That is, cache is not being bypassed for /wp-admin/*. Will admit though, the cache bypass rule does work for WP dashboard links, but not for dashboard widgets.

    Hope the above will help you confirm our issue and provide a solution.

    Thank you!

    Plugin Support Delyan Delov

    (@delyandelov)

    Indeed, the Purge SG Cache button does not clear the CloudFlare cache yet. Could you please try activating the Auto Purge functionality and see if this will help in your case.

    If the issue still persists, I would kindly ask you to open a ticket through your SiteGround account and provide us with the required steps to recreate the issue on our end. This way we can perform further investigation of the issue in greater detail.

    Regards,
    Delyan Delov

    Thread Starter Generosus

    (@generosus)

    Hi @delyandelov,

    Thank you for researching our issue. Yes, we also have the Auto Purge functionality activated. No dice ??

    As you recommended, we will open a ticket and share all the details so our issue can be re-created.

    For now, it’s OK to close this topic as “Resolved.” Once we receive feedback and/or a fix from SG, we will share it here.

    Thank you!

    Plugin Support Delyan Delov

    (@delyandelov)

    Thank you for your cooperation! I am now marking the topic as Resolved.

    Regards,
    Delyan Delov

    Thread Starter Generosus

    (@generosus)

    Update:

    A ticket was submitted to SiteGround with all the necessary steps to replicate our issue.

    In response, SiteGround was able to duplicate our issue. Their next step is to communicate the details to their developers for a possible (i.e., permanent) fix.

    Temporary Solution:

    The temporary solution provided by SiteGround consists of clearing all cache via SG Optimizer > Caching > Manual Dynamic Cache Purge > Purge Cache after making any custom CSS changes to the WP Dashboard (e.g., plugin widgets).

    We look forward to SiteGround’s permanent fix.

    Thank you, SiteGround!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Bug? | Cache Bypass Not Working’ is closed to new replies.