Purge cache for this page only not working
-
Hi,
For the last day or so, updated pages don’t refresh. I also can’t purge single pages either via the plugin or the CF dashboard.
The only way I can refresh any changes I make to individual pages is to do a full purge.
I’m pretty certain it is not a plugin issue. But how can I check if it’s an issue with Cloudflare?
I’ve tried the CF community forum for ideas, but with no luck.
-
Hello,
Yes I have the same problem, single page caching and relatives suddenly doesn’t work , only full caching works which is very bad for site speed!
I use page rules not workers
- This reply was modified 2 years, 1 month ago by diriras.
Yes, it’s problem, @diriras.
But at least your confirmation of the same issue tells me it’s probably Cloudflare.
I had the same problem about a year ago, and it took quite a few days for CF to fix it.
If it’s any help, I accidentally found a way to preload the entire cache. I run a broken backlink checker, and the page hits replenish the entire cache.
Hopefully, it will work for you as well until this issue is resolved.
Thanks for the suggestion. I really don’t know if its Cloudflare to blame.
I have this plugin installed in 2 domains and both of them clear caching after post update doesn’t work!
So I had to change page rules to workers from the plugin, and now it works…I think Workers are somehow slower than page rules, I have slower speed in clear caching and page speeds but at least it works
I just checked a small second site I have running the Super Cache plugin, and updating works fine.
So now I’m confused. Unfortunately, I don’t have access to workers, so I can’t try that on my main site.
But with one site working and one not, it leads me to think that it could be a plugin issue.
However, I’m really not sure what to do.
I’m running around in circles a bit with this issue now.
After another check, my second site wasn’t working either. I updated one page, and it worked. But a second attempt failed, and single page purging doesn’t work.
All can decipher is that if a custom purge doesn’t work from the Cloudflare dashboard, it has to be a Cloudflare issue.
I’ve also had feedback from another user on the Cloudflare community forum experiencing the same issue.
@bobsled you will not test it like this, manually I mean
You will go to your site change something (delete a post etc) and see if it will clear the cache to see the updated result in a few moments.
Mine it doesn’t work, and also the clear cache for this page only doesn’t work, for both sites so I think you are right and maybe a cloudflare issue. The worker mode is ok thought, only default page rules doesn’t work!
I’m now pretty sure it’s a Cloudflare issue @diriras
I’ve tried the steps you suggested, but nothing works.
You might add your thoughts to this thread on Cloudflare support to see if Cloudflare will react to the issue.
https://community.cloudflare.com/t/single-page-cache-purge-not-working/425791
Thanks I also wrote in cloudflare forum!
For you info you can use workers also, its an option from the plugin and it works for me until someone resolves page rules issue!
I have left my second domain to page rules option in order to monitor the issue
Regards,
Michael
- This reply was modified 2 years, 1 month ago by diriras.
Okay, thanks.
It’s late in the day here, so I’ll definitely try the workers option tomorrow.
Hi @bobsled,
I’m pretty certain it is not a plugin issue. But how can I check if it’s an issue with Cloudflare?
– It’s not. I would highly recommend you to enable the Log Mode inside the plugin and then under the others tab set Log Verbosity to HIGH. Then update a page or post and check the log to understand what’s going on behind the scene.
But with one site working and one not, it leads me to think that it could be a plugin issue.
However, I’m really not sure what to do.– It cannot be as the plugin code hasn’t been changed recently. The last version update was 5 months ago. Anyways, my assumption is somehow Cloudflare is limiting the API calls for that zone/account. No way to be sure without looking at the detailed log as stated above.
Also, I am not sure if this is happening due to the scheduled maintenance of Cloudflare: https://www.cloudflarestatus.com/——-
Hi @diriras,
I think Workers are somehow slower than page rules, I have slower speed in clear caching and page speeds but at least it works
– It’s actually not. When you purge cache, worker doesn’t get involved in the operation. The entire purge thing happens via Cloudflare API.
Hi @isaumya,
Thanks for your feedback.
I have changed the option on one site to use Workers. Now everything works as expected.
But for my other site using the Cache Everything rule, the problems persist.
I update one page okay, but when I tried more, they were unsuccessful.
As per your suggestion, I changed the log mode to HIGH ann recorded the actions. I’m no expert, but I couldn’t see any obvious errors.
Is there a way I can share the log file with you so you can check it?
Is there a way I can share the log file with you so you can check it?
– Yes. If you have set the log verbosity to HIGH. Then you will be able to see for which URLs the plugin is sending the page cache result and more importantly what API response is being received from Cloudflare. The Cloudflare API response will tell you what’s going on.
I’m not sure if this is what you mean by API response.
[2022-10-12 07:56:57] [cloudflare::purge_cache_urls] Response: {“success”:true,”errors”:[],”messages”:[],”result”:{“id”:”ae8da3f33585011cf515d81b54c30e3a”}}
But I can’t see any obvious errors in the log file, even for pages that failed to update.
Hhuh! Now that’s wired. Cloudflare API is not throwing errors but the pages are not getting purged. There is definitely something going on at Cloudflare end.
hello,
Below I have fresh debug log file.
[2022-10-12 09:21:09] [cloudflare::purge_cache_urls] Request URL: https://api.cloudflare.com/client/v4/zones/7554b4a746bb264a5b2336ea7f30524a/purge_cache [2022-10-12 09:21:09] [cloudflare::purge_cache_urls] Request Body: {"files":["https:\/\/sportlive.gr\/","https:\/\/sportlive.gr\/author\/sportlive-gr\/","https:\/\/sportlive.gr\/author\/sportlive-gr\/feed\/","https:\/\/sportlive.gr\/"]} [2022-10-12 09:21:10] [cloudflare::purge_cache_urls] Response: { "result": { "id": "7554b4a746bb264a5b2336ea7f30524a" }, "success": true, "errors": [], "messages": [] } [2022-10-12 09:21:10] [cache_controller::start_cache_preloader_for_specific_urls] Unable to start the preloader. Another preloading process is currently running. [2022-10-12 09:21:10] [cache_controller::purge_urls] Purged specific URLs from Cloudflare cache [2022-10-12 09:21:10] [cache_controller::ajax_purge_single_post_cache] Purge Cloudflare cache for only post id 1255671 and related contents [2022-10-12 09:22:43] [cache_controller::purge_cache_queue_write] URLs in purge queue Array ( [purge_all] => [urls] => Array ( [0] => https://sportlive.gr/?scrape=https-www-newsit-gr-category-texnologia-2-2-2-2 [1] => https://sportlive.gr/author/sportlive-gr/ [2] => https://sportlive.gr/author/sportlive-gr/feed/ [3] => https://sportlive.gr/?post_type=scrape [4] => https://sportlive.gr/?post_type=scrape&feed=rss2 [5] => https://sportlive.gr/ [6] => https://sportlive.gr/?scrape=https-www-news247-gr-latest-3-2-3 ) ) [2022-10-12 09:22:43] [cache_controller::purge_cache_on_post_edit] Purge Cloudflare cache for only post id 7192395 and related contents - Fired action: clean_post_cache [2022-10-12 09:22:43] [cache_controller::purge_cache_queue_write] URLs in purge queue Array ( [purge_all] => [urls] => Array ( [0] => https://sportlive.gr/?scrape=https-www-newsit-gr-category-texnologia-2-2-2-2 [1] => https://sportlive.gr/author/sportlive-gr/ [2] => https://sportlive.gr/author/sportlive-gr/feed/ [3] => https://sportlive.gr/?post_type=scrape [4] => https://sportlive.gr/?post_type=scrape&feed=rss2 ) ) [2022-10-12 09:22:43] [cache_controller::purge_cache_on_post_edit] Purge Cloudflare cache for only post id 7192395 and related contents - Fired action: edit_post [2022-10-12 09:24:02] [cache_controller::purge_cache_queue_job] I'm the purge cache cronjob [2022-10-12 09:24:03] [cloudflare::purge_cache_urls_async] Response for request 0: { "result": { "id": "7554b4a746bb264a5b2336ea7f30524a" }, "success": true, "errors": [], "messages": [] } [2022-10-12 09:24:03] [cloudflare::purge_cache_urls_async] Response for request 1: { "result": { "id": "7554b4a746bb264a5b2336ea7f30524a" }, "success": true, "errors": [], "messages": [] } [2022-10-12 09:24:03] [cloudflare::purge_cache_urls_async] Response for request 2: { "result": { "id": "7554b4a746bb264a5b2336ea7f30524a" }, "success": true, "errors": [], "messages": [] } [2022-10-12 09:24:03] [cloudflare::purge_cache_urls_async] Response for request 3: { "result": { "id": "7554b4a746bb264a5b2336ea7f30524a" }, "success": true, "errors": [], "messages": [] } [2022-10-12 09:24:03] [cloudflare::purge_cache_urls_async] Response for request 4: { "result": { "id": "7554b4a746bb264a5b2336ea7f30524a" }, "success": true, "errors": [], "messages": [] } [2022-10-12 09:24:03] [cloudflare::purge_cache_urls_async] Response for request 5: { "result": { "id": "7554b4a746bb264a5b2336ea7f30524a" }, "success": true, "errors": [], "messages": [] } [2022-10-12 09:24:03] [cloudflare::purge_cache_urls_async] Response for request 6: { "result": { "id": "7554b4a746bb264a5b2336ea7f30524a" }, "success": true, "errors": [], "messages": [] } [2022-10-12 09:24:03] [cloudflare::purge_cache_urls_async] Response for request 7: { "result": { "id": "7554b4a746bb264a5b2336ea7f30524a" }, "success": true, "errors": [], "messages": [] } [2022-10-12 09:24:03] [cache_controller::start_cache_preloader_for_specific_urls] Adding these URLs to preloader queue: Array ( [0] => https://sportlive.gr/?scrape=https-www-newsit-gr-category-texnologia-2-2-2-2 [1] => https://sportlive.gr/author/sportlive-gr/ [2] => https://sportlive.gr/author/sportlive-gr/feed/ [3] => https://sportlive.gr/?post_type=scrape ) [2022-10-12 09:24:04] [cache_controller::purge_urls] Purged specific URLs from Cloudflare cache [2022-10-12 09:24:04] [cache_controller::purge_cache_queue_job] Cache purging complete [2022-10-12 09:24:04] [cache_controller::purge_cache_queue_start_cronjob] Purge queue scheduled event stopped successfully - Timestamp 1665566644 [2022-10-12 09:24:06] [cache_controller::purge_cache_queue_start_cronjob] Purge queue scheduled event stopped successfully - Timestamp 1665566644 [2022-10-12 09:24:06] [cache_controller::purge_cache_queue_start_cronjob] Purge queue scheduled event stopped successfully - Timestamp 1665565694 [2022-10-12 09:24:07] [cache_controller::purge_cache_queue_start_cronjob] Purge queue scheduled event stopped successfully - Timestamp 1665566644 [2022-10-12 09:24:08] [cache_controller::purge_cache_queue_start_cronjob] Purge queue scheduled event stopped successfully - Timestamp 1665565694 [2022-10-12 09:24:10] [cache_controller::purge_cache_queue_start_cronjob] Unable to stop the purge queue scheduled event - Timestamp 1665565694 [2022-10-12 09:24:11] [cache_controller::purge_cache_queue_start_cronjob] Unable to stop the purge queue scheduled event - Timestamp 1665565694 [2022-10-12 09:24:12] [cache_controller::purge_cache_queue_start_cronjob] Unable to stop the purge queue scheduled event - Timestamp 1665565694 [2022-10-12 09:24:13] [cache_controller::purge_cache_queue_start_cronjob] Unable to stop the purge queue scheduled event - Timestamp 1665566644 [2022-10-12 09:24:15] [cache_controller::purge_cache_queue_start_cronjob] Unable to stop the purge queue scheduled event - Timestamp 1665566644 [2022-10-12 09:24:15] [preloader::task] Preloading URL https://sportlive.gr/tag/polemos/page/4/ [2022-10-12 09:24:17] [cache_controller::purge_cache_queue_start_cronjob] Purge queue scheduled event stopped successfully - Timestamp 1665566644 [2022-10-12 09:24:17] [cache_controller::purge_cache_queue_start_cronjob] Purge queue scheduled event stopped successfully - Timestamp 1665566644 [2022-10-12 09:24:22] [cache_controller::purge_cache_queue_write] queue file not exist [2022-10-12 09:24:22] [cache_controller::purge_cache_queue_write] URLs in purge queue Array ( [purge_all] => [urls] => Array ( [0] => https://sportlive.gr/?scrape=https-www-fthis-gr-celebrity-3 [1] => https://sportlive.gr/author/sportlive-gr/ [2] => https://sportlive.gr/author/sportlive-gr/feed/ [3] => https://sportlive.gr/?post_type=scrape [4] => https://sportlive.gr/?post_type=scrape&feed=rss2 [5] => https://sportlive.gr/ ) ) [2022-10-12 09:24:22] [cache_controller::purge_cache_on_post_edit] Purge Cloudflare cache for only post id 754026 and related contents - Fired action: clean_post_cache [2022-10-12 09:24:22] [cache_controller::purge_cache_queue_start_cronjob] Purge queue cronjob started successfully - Timestamp 1665566662 [2022-10-12 09:24:22] [cache_controller::purge_cache_queue_start_cronjob] Unable to start the purge queue scheduled event - Timestamp 1665566662 [2022-10-12 09:24:25] [preloader::task] Preloading URL https://sportlive.gr/tag/polemos/page/5/ [2022-10-12 09:24:26] [cache_controller::purge_cache_queue_write] URLs in purge queue Array ( [purge_all] => [urls] => Array ( [0] => https://sportlive.gr/?scrape=https-www-fthis-gr-celebrity-3 [1] => https://sportlive.gr/author/sportlive-gr/ [2] => https://sportlive.gr/author/sportlive-gr/feed/ [3] => https://sportlive.gr/?post_type=scrape [4] => https://sportlive.gr/?post_type=scrape&feed=rss2 [5] => https://sportlive.gr/ [6] => https://sportlive.gr/?scrape=http-www-gazzetta-gr-basketball-basket-league-2-2 ) ) [2022-10-12 09:24:26] [cache_controller::purge_cache_on_post_edit] Purge Cloudflare cache for only post id 714696 and related contents - Fired action: clean_post_cache [2022-10-12 09:24:26] [cache_controller::purge_cache_queue_start_cronjob] Purge queue cronjob started successfully - Timestamp 1665566666 [2022-10-12 09:24:27] [cache_controller::purge_cache_queue_start_cronjob] Purge queue cronjob started successfully - Timestamp 1665566667 [2022-10-12 09:24:27] [cache_controller::purge_cache_queue_write] URLs in purge queue Array ( [purge_all] => [urls] => Array ( [0] => https://sportlive.gr/?scrape=https-www-fthis-gr-celebrity-3 [1] => https://sportlive.gr/author/sportlive-gr/ [2] => https://sportlive.gr/author/sportlive-gr/feed/ [3] => https://sportlive.gr/?post_type=scrape [4] => https://sportlive.gr/?post_type=scrape&feed=rss2 [5] => https://sportlive.gr/ [6] => https://sportlive.gr/?scrape=http-www-gazzetta-gr-basketball-basket-league-2-2 [7] => https://sportlive.gr/?scrape=https-www-sdna-gr-mpasket-kypello-elladas-andron-2-3 ) ) [2022-10-12 09:24:27] [cache_controller::purge_cache_on_post_edit] Purge Cloudflare cache for only post id 1214974 and related contents - Fired action: clean_post_cache [2022-10-12 09:24:28] [cache_controller::purge_cache_queue_start_cronjob] Purge queue cronjob started successfully - Timestamp 1665566668 [2022-10-12 09:24:29] [cache_controller::purge_cache_queue_write] URLs in purge queue Array ( [purge_all] => [urls] => Array ( [0] => https://sportlive.gr/?scrape=https-www-fthis-gr-celebrity-3 [1] => https://sportlive.gr/author/sportlive-gr/ [2] => https://sportlive.gr/author/sportlive-gr/feed/ [3] => https://sportlive.gr/?post_type=scrape [4] => https://sportlive.gr/?post_type=scrape&feed=rss2 [5] => https://sportlive.gr/ [6] => https://sportlive.gr/?scrape=http-www-gazzetta-gr-basketball-basket-league-2-2 [7] => https://sportlive.gr/?scrape=https-www-sdna-gr-mpasket-kypello-elladas-andron-2-3 ) ) [2022-10-12 09:24:29] [cache_controller::purge_cache_on_post_edit] Purge Cloudflare cache for only post id 754026 and related contents - Fired action: clean_post_cache [2022-10-12 09:24:29] [cache_controller::purge_cache_queue_write] URLs in purge queue Array ( [purge_all] => [urls] => Array ( [0] => https://sportlive.gr/?scrape=https-www-fthis-gr-celebrity-3 [1] => https://sportlive.gr/author/sportlive-gr/ [2] => https://sportlive.gr/author/sportlive-gr/feed/ [3] => https://sportlive.gr/?post_type=scrape [4] => https://sportlive.gr/?post_type=scrape&feed=rss2 [5] => https://sportlive.gr/ [6] => https://sportlive.gr/?scrape=http-www-gazzetta-gr-basketball-basket-league-2-2 [7] => https://sportlive.gr/?scrape=https-www-sdna-gr-mpasket-kypello-elladas-andron-2-3 ) )
- The topic ‘Purge cache for this page only not working’ is closed to new replies.