WordPress.org

Ready to get started?Download WordPress

Forums

CloudFlare(R) Cache Purge
[resolved] Explain exactly what this plugin does in more detail (5 posts)

  1. davidcastellani
    Member
    Posted 6 months ago #

    • Can this plugin also purge Cloudflare cache on a new post creation? The initial description says updated, and it made me think about creation instead of update
    • Can this plugin purge just the front page cache when a new post is created? This would leave the rest of the site in cache but only purge the pages that absolutely have to be purged in order to see new content. There may be other pages that should be purged such as a feed or category/tag page
    • Can this plugin also purge the frontpage, in addition to the post, when a post is update? This would allow any new/repeat visitors to see the updated post on the frontpage and on the post itself, while leaving the rest of the site in cache

    I appreciate the time taken to read and respond, and can also appreciate that this plugin was never intended to address these use cases, but I thought these would be cool additions. I know you can go to the cloudflare site itself, and use this plugin to purge individual urls, to accomplish a lot what I mentioned. I just had to ask if it was possible as it would be nice to not have to remember to do this everytime.

    If anything, just give clarity on what actually is being purged and what triggers it.

    https://wordpress.org/plugins/cloudflare-cache-purge/

  2. damoncloudflare
    Member
    Posted 6 months ago #

    Hi,

    Just to be clear because this is confusing for some people...

    1. We don't impact dynamic updates like new posts with the default setup for our CDN. CloudFlare only caches static content by default.

    2. You really want to use purge cache or development mode when making changes to static content that we would cache (CSS, JavaScript, images, etc.). Our purge options (single file purge or purge cache) would purge the items we cache.

    "There may be other pages that should be purged such as a feed or category/tag pag"

    We don't cache things like XML or html or php by default.

    "This would leave the rest of the site in cache but only purge the pages that absolutely have to be purged in order to see new content"
    Unless you use PageRules to cache html or other, then this wouldn't be a concern.

  3. shanaver
    Member
    Plugin Author

    Posted 6 months ago #

    Thanks for jumping in damoncloudflare with the specifics on the CloudFlare side. Per the plugin questions you had David, I added them to the FAQs - but essentially:

    Can this plugin also purge Cloudflare cache on a new post creation?
    Yes

    Can this plugin purge just the front page cache when a new post is created?
    Yes

    Can this plugin also purge the frontpage
    Yes

  4. davidcastellani
    Member
    Posted 6 months ago #

    @damoncloudflare I appreciate your response. I am using Page Rules to actually cache my entire site with Cloudflare which is why its important for me to know how to efficiently purge the only CloudFlare cache for the content that needs to be purged, but not EVERYTHING.

    @shanaver Thank you for clarify. I installed your plugin and started doing my own testing, and discovered these things on my own. Your plugin works exactly as I expected and its extremely useful. Thank you for writing it.

  5. shanaver
    Member
    Plugin Author

    Posted 4 months ago #

    assuming this is resolved - gonna close it.

Reply

You must log in to post.

About this Plugin

About this Topic