• Resolved Zark

    (@zack254)


    When publishing or updating a post, occasionally the post will not publish or update immediately. The post will keep on Updating… for long until it times out.

    This issue occurs only when Super Page Cache for Cloudflare has been installed

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    Hi @zack254,
    This seems more like a server issue than the plugin issue. That is because when you update or publish a post, if you open the network tab in the dev tools you will see that the system basically makes an Ajax call to publish and update those posts. After which the plugin also does a lot of work to purge the cache for that page and it’s related taxonomy pages. So, it might be possible that the server is unable to handle all these execution and instead timing out. Check the network tab, you will see each requests individually.

    Thread Starter Zark

    (@zack254)

    Not server side, I have used several cache plugins but this is the only one with the issue

    • This reply was modified 1 year, 10 months ago by Zark.
    Plugin Contributor iSaumya

    (@isaumya)

    Hi @zack254,
    As I said earlier, without looking at the network list, it is hard to say what’s going on in your installation. Please take a look at the network tab to see what’s going on.

    You cannot compare this plugin with other plugin as after you update or post an article, the after the wp operation is done, it does a lot of things like purging fallback cache (if enabled), sending API requests to Cloudflare to purge cache. It might even be possible that the server is blocking the Cloudflare API requests or something like that causing the timeout. Hard to say without digging further in the network tab.

    Thread Starter Zark

    (@zack254)

    Please review the website

    • This reply was modified 1 year, 10 months ago by Zark.
    • This reply was modified 1 year, 10 months ago by Zark.
    • This reply was modified 1 year, 10 months ago by Zark.
    Plugin Contributor iSaumya

    (@isaumya)

    Hi @zack254,
    As I can see the plugin is working properly. can you enable the Log Mode inside the plugin settings and then under the Others tab of plugin settings, set Log Verbosity to HIGH. Finally update any post, wait for 5 min and check the log, you will see the list of the URLs that has been purged.

    Thread Starter Zark

    (@zack254)

    For how long does it take for some static pages to purge so that they can show latest content?

    Plugin Contributor iSaumya

    (@isaumya)

    Hi @zack254,
    generally it takes a few minutes to complete the purge.

    Thread Starter Zark

    (@zack254)

    Hi Saumya, how do I set maximum time for cache to live to be 1 day?

    Plugin Contributor iSaumya

    (@isaumya)

    Hi @zack254,
    There are a couple of ways to do it (implement any one of them but not all):

    1. Inside the CF dashboard, if you are using the cache rules, you can set the Cache TTL for Rule 4.
    2. Inside the plugin settings > cache tab > set the Cloudflare Cache-Control max-age to 86400 from the default 31536000
    3. Add a Page rule for setting cache TTL

    You can implement any of these systems.

    Thread Starter Zark

    (@zack254)

    I have tested this plugin with now 3 different hosts but I have realized the same issue occurring.

    When publishing or updating a post/job post, occasionally the post will not publish or update immediately. The post will keep on?Updating…?for long until it times out or freezes.

    I’m using wp-job-manager plugin to post jobs on my site.

    Help me solve the issue

    Plugin Contributor iSaumya

    (@isaumya)

    Hi @zack254,

    When publishing or updating a post/job post, occasionally the post will not publish or update immediately. The post will keep on Updating… for long until it times out or freezes.

    Which means that when you are publishing or updating a post in wp admin the ajax operation is not getting completed. In this case the plugin is not able to do anything as the process did not completed properly.

    The only way to see what’s going on is to open the network tab in the browser dev tools and then hit publish/update and check the ajax request that is failing. Then need to deep dive to see why that request is failing.

    There can be a million things that might be causing this. Another thing you can try is, if you have made changed to this plugin settings, I would suggest you to delete the plugin from wp admin > plugin section and then freshly install it. Also after setting up the plugin, don’t make any changes to the default settings and check if everything is working properly.

    If you are still facing issue, then unfortunately the network tab deep dive would be needed to find the root cause.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Post Updating…’ is closed to new replies.