• Resolved arindam4u

    (@arindam4u)


    Hi,
    Thank you for making this excellent plugin. This really helps a lot.
    However, I have large number of posts and GET Rest API calls.
    When I try to clear all from the admin bar it takes long time and shows Internal server error. Can you tell me the solution?
    How to auto clear cache when a post is updated or added?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter arindam4u

    (@arindam4u)

    As per FAQ, the cache should be cleared. But changes in updated posts do not reflect in REST call.
    Don’t know why.

    Plugin Author Richard Korthuis

    (@rockfire)

    Hi @arindam4u

    Thank you for using our plugin!

    Yes the caches should be cleared automatically whenever a (related) post is edited. Could you check if the changes are reflected in the REST Call if you do the call by adding ?skip_cache=1? This should make sure the cache isn’t used, so this is to check that the actual returned content from the REST API is correct.

    Regarding the internal server error when clearing a great amount of caches: we will investigate this and implement a fix for this in a future release.

    Thread Starter arindam4u

    (@arindam4u)

    Thank you for your reply @rockfire. I am Sorry for my late reply.

    The ?skip_cache=1 works and fetch updated posts. However, if I do not include it the older version is being fetched from my app. I am using custom Rest URL Prefix (i.e, custom prefix in url in place of “wp-json”) if it makes any difference.

    I am looking forward about implementing a fix for internal server error issue, it will be a great relief. Thanks in advance.

    • This reply was modified 5 years, 1 month ago by arindam4u.
    Thread Starter arindam4u

    (@arindam4u)

    Hello again,
    I want to inform you that, If I go to plugin’s Endpoint API Caches tab and search for the category id and select all caches where that category id is included in request api and select bulk flush cache manually, I can see the updated posts of that category. That means, If I add or update posts of a category say “General” of id “4”, I will search for “categories=4&” in Endpoint API Caches tab and will select all filtered caches and bulk flush/delete them I can see updated posts of General category instantly.
    Thank you so much for your time.

    Plugin Author Acato

    (@acato)

    Hi @arindam4u

    We just released a new version of our plugin which addresses the issue with the internal server error.
    Please let us know if this is solved for you or if you have any other issues.

    Plugin Author Acato

    (@acato)

    This thread has been marked as resolved due to lack of activity.

    You’re always welcome to open a new topic.

    Thanks for understanding!

    Thread Starter arindam4u

    (@arindam4u)

    Really sorry for late reply and Thank you the issue is resolved.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Clearing Cache taking long time and showing Internal Server Error’ is closed to new replies.