Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter dbackeus

    (@dbackeus)

    Thanks for the pointers. I’ll look into tweaking the overall configuration later. First priority is getting the auto-purge on edit to work…

    Here is the output in verbose mode. For the editing a page I still see the same output as before:

    [2022-02-02 12:20:00] [cache_controller::purge_cache_on_post_edit] Purge Cloudflare cache for only post id 324 and related contents - Fired action: clean_post_cache
    [2022-02-02 12:20:00] [cache_controller::purge_cache_on_post_edit] Purge Cloudflare cache for only post id 324 and related contents - Fired action: edit_post
    [2022-02-02 12:20:01] [cache_controller::purge_cache_on_post_edit] Purge Cloudflare cache for only post id 324 and related contents - Fired action: clean_post_cache

    5 minutes later I was still getting a HIT so I clicked “purge cache for only this page” and got the following log:

    [2022-02-02 12:25:46] [cloudflare::purge_cache_urls] Request URL: https://api.cloudflare.com/client/v4/zones/7894dbf7b2782c47fabb1db9efbc36f3/purge_cache
    [2022-02-02 12:25:46] [cloudflare::purge_cache_urls] Request Body: {"files":["https:\/\/www.mnd-staging.com\/se-sv\/","https:\/\/www.mnd-staging.com\/se-sv\/","https:\/\/www.mnd-staging.com\/se-sv\/page\/2\/","https:\/\/www.mnd-staging.com\/se-sv\/page\/3\/","https:\/\/www.mnd-staging.com\/se-sv\/page\/4\/","https:\/\/www.mnd-staging.com\/se-sv\/page\/5\/","https:\/\/www.mnd-staging.com\/se-sv\/page\/6\/","https:\/\/www.mnd-staging.com\/se-sv\/page\/7\/","https:\/\/www.mnd-staging.com\/se-sv\/page\/8\/","https:\/\/www.mnd-staging.com\/se-sv\/page\/9\/","https:\/\/www.mnd-staging.com\/se-sv\/page\/10\/","https:\/\/www.mnd-staging.com\/?taxonomy=post_translations&term=pll_61b649b5bd884","https:\/\/www.mnd-staging.com\/se-sv\/blogg\/author\/siteadmin\/","https:\/\/www.mnd-staging.com\/se-sv\/blogg\/author\/siteadmin\/feed\/","https:\/\/www.mnd-staging.com\/","https:\/\/www.mnd-staging.com\/se-sv\/blogg\/"]}
    [2022-02-02 12:25:47] [cloudflare::purge_cache_urls] Response: {
      "result": {
        "id": "7894dbf7b2782c47fabb1db9efbc36f3"
      },
      "success": true,
      "errors": [],
      "messages": []
    }
    
    [2022-02-02 12:25:47] [cache_controller::purge_wpengine_cache] Purge WP Engine memcached cache
    [2022-02-02 12:25:47] [cache_controller::purge_wpengine_cache] Purge WP Engine varnish cache
    [2022-02-02 12:25:47] [cache_controller::start_cache_preloader_for_specific_urls] Adding these URLs to preloader queue: Array
    (
        [0] => https://www.mnd-staging.com/se-sv/
        [2] => https://www.mnd-staging.com/se-sv/page/2/
        [3] => https://www.mnd-staging.com/se-sv/page/3/
        [4] => https://www.mnd-staging.com/se-sv/page/4/
        [5] => https://www.mnd-staging.com/se-sv/page/5/
        [6] => https://www.mnd-staging.com/se-sv/page/6/
        [7] => https://www.mnd-staging.com/se-sv/page/7/
        [8] => https://www.mnd-staging.com/se-sv/page/8/
        [9] => https://www.mnd-staging.com/se-sv/page/9/
        [10] => https://www.mnd-staging.com/se-sv/page/10/
        [11] => https://www.mnd-staging.com/?taxonomy=post_translations&term=pll_61b649b5bd884
        [12] => https://www.mnd-staging.com/se-sv/blogg/author/siteadmin/
        [13] => https://www.mnd-staging.com/se-sv/blogg/author/siteadmin/feed/
        [14] => https://www.mnd-staging.com/
        [15] => https://www.mnd-staging.com/se-sv/blogg/
    )
    
    [2022-02-02 12:25:48] [preloader::task] Preloading URL https://www.mnd-staging.com/se-sv/
    [2022-02-02 12:25:48] [cache_controller::purge_urls] Purged specific URLs from Cloudflare cache
    [2022-02-02 12:25:48] [cache_controller::ajax_purge_single_post_cache] Purge Cloudflare cache for only post id 324 and related contents
    [2022-02-02 12:25:51] [preloader::task] Unable to find a valid URL to preload. Exit.
    [2022-02-02 12:25:51] [preloader::task] Preloading URL https://www.mnd-staging.com/se-sv/page/2/
    [2022-02-02 12:25:54] [preloader::task] Preloading URL https://www.mnd-staging.com/se-sv/page/3/
Viewing 1 replies (of 1 total)