• Resolved jaypabs

    (@jaypabs)


    When we edit an existing post, w3tc does not clear the cache automatically. The same thing happen also when we update the value of a shortcode and clear the cache programmatically using wp cli command.

    In order to clear the cache, we need to run:
    wp cache flush url=https://example.com/post123/

    in the terminal before running:
    wp w3-total-cache flush posts –permalink=https://example.com/post123/

    Clearing the cache using the menu does not work also.

    We are using Nginx and the current version of w3tc which is Version 2.2.3

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @jaypabs

    Thank you for reaching out and I am happy to assist you with this.
    This should be happening automatically already. In Performance>Page cache, Purge Policy: Page Cache sub-box, you can specify the pages and feeds to purge when posts are created, edited, or comments posted
    Can you please share the website URL? DO you have any other caching solution besides W3 Total Cache like server-side caching or nginx-proxy?
    Thanks!

    Thread Starter jaypabs

    (@jaypabs)

    Hi,

    I already set the front page, post page, blog feed to be cleared once a new post or an update to the post is being made.

    I’m only using Memcached and I already use that in W3TC. BTW, front page were not cleared also when there is new post or a post being updated.

    This does not happened before. But not I need to execute the WordPress cache which is:
    wp cache flush url=https://example.com/post123/
    before I can fully clear the cache after clearing with W3TC.

    For my site, how can I share it with you privately?

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @jaypabs

    wp cache flush Flushes the object cache. Do you have any other plugin used for Object Caching?
    Also, can you create a new post, or similar while W3 Total Cache is temporarily disabled and see if the problem persists?
    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cache Not Cleared After Editing A Post’ is closed to new replies.