romant14
Forum Replies Created
-
Forum: Plugins
In reply to: [Super Page Cache] Main Page Doesn’t Update When Publish a Page or PostYes.
added in wp-config.php
Still no success.
This is the homepage.
I just wrote a post that should have been shown in the Latest News section but is not showing.Forum: Plugins
In reply to: [Super Page Cache] Main Page Doesn’t Update When Publish a Page or PostI use CLoudways Varnish and see that the plugin has the option of it as well. Will I still have to set the port as well (not the default ones) to use Varnish. Previously, I had the options for OPcache, Varnish, and Redis Cache purge cache turned on, and still, it wouldn’t work.
Forum: Plugins
In reply to: [Super Page Cache] Main Page Doesn’t Update When Publish a Page or PostOkay, so this time, I have also disabled WP rocket completely. Installed the plugin which you sent. And I’m using the default plugin settings (even though I have Varnish, Redis Object cache, and OPcache running).
Still, the homepage was not updated automatically. Here’s the log generated:
[2021-08-03 07:02:07] [cloudflare::page_cache_test] Start test to https://www.thephonetalks.com with headers Array ( [timeout] => 10 [sslverify] => [user-agent] => Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0 [headers] => Array ( [Accept] => text/html ) ) [2021-08-03 07:02:07] [cloudflare::page_cache_test] Response Headers: Requests_Utility_CaseInsensitiveDictionary::__set_state(array( 'data' => array ( 'date' => 'Tue, 03 Aug 2021 07:02:07 GMT', 'content-type' => 'text/html; charset=UTF-8', 'link' => '<https://www.thephonetalks.com/wp-json/>; rel="https://api.w.org/", <https://www.thephonetalks.com/wp-json/wp/v2/pages/7>; rel="alternate"; type="application/json"', 'cache-control' => 's-maxage=31536000, max-age=60, max-age=0', 'x-wp-cf-super-cache' => 'cache', 'x-wp-cf-super-cache-active' => '1', 'x-wp-cf-super-cache-cache-control' => 's-maxage=31536000, max-age=60', 'x-wp-cf-super-cache-cookies-bypass' => 'swfpc-feature-not-enabled', 'vary' => 'Accept-Encoding', 'expires' => 'Tue, 03 Aug 2021 06:48:07 GMT', 'x-cache' => 'HIT', 'access-control-allow-origin' => '*', 'cf-cache-status' => 'EXPIRED', 'last-modified' => 'Sat, 31 Jul 2021 11:17:55 GMT', 'expect-ct' => 'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"', 'report-to' => '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=hlTMt0sOICN3AUdhg6N5xzlnx8RY8wCnMZ59%2FoNzet5sAavkDi37n8QA0%2FoP4NYbeaOyrZfIdDvStQhmn9wcv61G9od7ztSNi%2FiW2nZT5Hvbd1vb2zZKR2Fs33BvjeVxw4jlqSBxaRg%3D"}],"group":"cf-nel","max_age":604800}', 'nel' => '{"report_to":"cf-nel","max_age":604800}', 'strict-transport-security' => 'max-age=15552000; preload', 'x-content-type-options' => 'nosniff', 'server' => 'cloudflare', 'cf-ray' => '678dadb63fa63bbc-CDG', 'content-encoding' => 'gzip', 'alt-svc' => 'h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443"; ma=86400', ), )) [2021-08-03 07:22:19] [cache_controller::purge_cache_queue_write] queue file not exist [2021-08-03 07:22:19] [cache_controller::purge_cache_on_post_edit] Purge Cloudflare cache for only post id 22356 and related contents - Fired action: clean_post_cache [2021-08-03 07:26:36] [cache_controller::purge_cache_on_post_edit] Purge Cloudflare cache for only post id 27232 and related contents - Fired action: clean_post_cache [2021-08-03 07:26:36] [cache_controller::purge_cache_when_post_is_published] Purge Cloudflare cache for only post id 27232 and related contents - Fired action: transition_post_status [2021-08-03 07:26:36] [cache_controller::purge_cache_on_post_edit] Purge Cloudflare cache for only post id 27232 and related contents - Fired action: edit_post [2021-08-03 07:26:38] [cache_controller::purge_cache_on_post_edit] Purge Cloudflare cache for only post id 27232 and related contents - Fired action: clean_post_cache [2021-08-03 07:26:38] [cache_controller::purge_cache_on_post_edit] Purge Cloudflare cache for only post id 27232 and related contents - Fired action: edit_postForum: Plugins
In reply to: [Super Page Cache] Main Page Doesn’t Update When Publish a Page or PostSure, let me check.
Forum: Plugins
In reply to: [Super Page Cache] Main Page Doesn’t Update When Publish a Page or PostLet me know if you need more information from the log file
Forum: Plugins
In reply to: [Super Page Cache] Main Page Doesn’t Update When Publish a Page or PostHi!
So, here’s the update.
When I post a new post, the post appears automatically on the other associated pages except for the homepage.
In the logs the post with the ID also trigger purge cache multiple times, but I’m not able to understand what it is all about. Here’s the part:[2021-07-29 21:23:31] [cache_controller::purge_cache_on_post_edit] Purge Cloudflare cache for only post id 27111 and related contents - Fired action: clean_post_cache [2021-07-29 21:23:31] [cache_controller::purge_cache_when_post_is_published] Purge Cloudflare cache for only post id 27111 and related contents - Fired action: transition_post_status [2021-07-29 21:23:31] [cache_controller::purge_cache_on_post_edit] Purge Cloudflare cache for only post id 27111 and related contents - Fired action: edit_post [2021-07-29 21:23:33] [html_cache::add_current_url_to_cache] The URL https://www.thephonetalks.com/wp-json/wp/v2/posts/27111?_locale=user cannot be cached due to caching rules. [2021-07-29 21:23:33] [cache_controller::wp_rocket_hooks] Purge whole Cloudflare cache (fired action: after_rocket_clean_files) [2021-07-29 21:23:33] [cache_controller::wp_rocket_hooks] Purge whole Cloudflare cache (fired action: after_rocket_clean_files) [2021-07-29 21:23:33] [cache_controller::wp_rocket_hooks] Purge whole Cloudflare cache (fired action: after_rocket_clean_post) [2021-07-29 21:23:33] [cache_controller::purge_cache_on_post_edit] Purge Cloudflare cache for only post id 27111 and related contents - Fired action: clean_post_cache [2021-07-29 21:23:33] [cache_controller::purge_cache_on_post_edit] Purge Cloudflare cache for only post id 27111 and related contents - Fired action: edit_post [2021-07-29 21:23:51] [html_cache::add_current_url_to_cache] Created the file /home/517252.cloudwaysapps.com/zpygfjyjcr/public_html/wp-content/wp-cloudflare-super-page-cache/www.thephonetalks.com/cached_html_pages/d5c61149218a3745651c3b499513141029e18386.tmp for the URL https://www.thephonetalks.com/xiaomi-beats-apple-q2-2021-rankings/ [2021-07-29 21:23:57] [html_cache::add_current_url_to_cache] Created the file /home/517252.cloudwaysapps.com/zpygfjyjcr/public_html/wp-content/wp-cloudflare-super-page-cache/www.thephonetalks.com/cached_html_pages/bc768538a629d4a00bbc2fd257f3a87be8498f68.tmp for the URL https://www.thephonetalks.com/xiaomi-mi-a3-a3-lite-sd-730-675-leaked [2021-07-29 21:23:57] [html_cache::add_current_url_to_cache] The URL https://www.thephonetalks.com/wp-json/wp/v2/tags?per_page=20&orderby=count&order=desc&_fields=id%2Cname%2Ccount&search=Vivo%20Ap&_locale=user cannot be cached due to caching rules. [2021-07-29 21:23:57] [html_cache::add_current_url_to_cache] The URL https://www.thephonetalks.com/wp-json/wp/v2/tags?_locale=user cannot be cached due to caching rules. [2021-07-29 21:23:58] [html_cache::add_current_url_to_cache] The URL https://www.thephonetalks.com/wp-json/wp/v2/tags?per_page=20&orderby=count&order=desc&_fields=id%2Cname%2Ccount&search=Vivo&_locale=user cannot be cached due to caching rules. [2021-07-29 21:23:58] [html_cache::add_current_url_to_cache] Created the file /home/517252.cloudwaysapps.com/zpygfjyjcr/public_html/wp-content/wp-cloudflare-super-page-cache/www.thephonetalks.com/cached_html_pages/06f62af16cc303a0cd8fadf6fcdd6385afffb636.tmp for the URL https://www.thephonetalks.com/xiaomi-mi-a3-a3-lite-sd-730-675-leaked/ [2021-07-29 21:23:59] [html_cache::add_current_url_to_cache] The URL https://www.thephonetalks.com/wp-json/wp/v2/tags?per_page=20&orderby=count&order=desc&_fields=id%2Cname%2Ccount&search=Vivo&_locale=user cannot be cached due to caching rules. [2021-07-29 21:23:59] [html_cache::add_current_url_to_cache] The URL https://www.thephonetalks.com/wp-json/wp/v2/tags?per_page=20&orderby=count&order=desc&_fields=id%2Cname%2Ccount&search=Apple&_locale=user cannot be cached due to caching rules. [2021-07-29 21:24:01] [html_cache::add_current_url_to_cache] Created the file /home/517252.cloudwaysapps.com/zpygfjyjcr/public_html/wp-content/wp-cloudflare-super-page-cache/www.thephonetalks.com/cached_html_pages/aea58fbfd339643d3a489d9ccce19e0fa32fe05d.tmp for the URL https://www.thephonetalks.com/fiil-t1-lite-review-tws-comparison/ [2021-07-29 21:24:01] [html_cache::add_current_url_to_cache] Created the file /home/517252.cloudwaysapps.com/zpygfjyjcr/public_html/wp-content/wp-cloudflare-super-page-cache/www.thephonetalks.com/cached_html_pages/95b7b97fd3e59c90ce46f8e6aaf54c588669c2ab.tmp for the URL https://www.thephonetalks.com/ [2021-07-29 21:24:02] [html_cache::add_current_url_to_cache] Created the file /home/517252.cloudwaysapps.com/zpygfjyjcr/public_html/wp-content/wp-cloudflare-super-page-cache/www.thephonetalks.com/cached_html_pages/c19fe988196d2d871ede5c3f29493bc26d386649.tmp for the URL https://www.thephonetalks.com/feed [2021-07-29 21:24:03] [html_cache::add_current_url_to_cache] The URL https://www.thephonetalks.com/feeds cannot be cached because it returns 404.The same thing is created multiple times.
When I bypass CF super cache, the post does show on the front page.- This reply was modified 4 years, 9 months ago by romant14.
Forum: Plugins
In reply to: [Super Page Cache] Main Page Doesn’t Update When Publish a Page or PostHi! Thanks for the quick reply. WP Rocket has no option to disable it. So, as you said, I have already disabled WP rocket from the third part tab.
The fallback cache is on, and I do see the advanced-cache file generated by the plugin (after I disable WP rocket). I’ll be looking in the logs for now.
Forum: Plugins
In reply to: [Media Cleaner: Clean your WordPress!] Reset API is Broken or DisabledI already tried disabling Cloudflare by bypassing its proxy on the website. Still, I got the same timeout error.
Forum: Plugins
In reply to: [Media Cleaner: Clean your WordPress!] Reset API is Broken or DisabledThanks for the reply, Jordy!
However, in your guide, you have instructed us to increase execution time for WordPress. However, how can I do this if my website DNS and protection is by cloudflare? They have a default 100 seconds waiting time and this can’t be increased in the basic plan.