• Resolved Alexanderine

    (@alexanderine)


    Hello,
    I’m really Enjoying this plugin, it works super fast, it’s actually better than all the caching plugins i have tried ( and i have tried a lot ).

    One minor issue I’m facing, is that i can’t seem to be able to purge the cache of a single category. i tried to “purge current page cache” but it doesn’t work, in an incognito window i’m still served the old category layout.

    When i write a post and publish it, the home page changes and all is great, but the category of said post still the same, you can;t see the newly added posts in it.

    Your help is highly appreciated ??

    Thank you

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

    (@vmarko)

    Hello @alexanderine

    Thank you for the inquiry and I am happy to assist you with this.
    This can only be achieved by a custom code as W3 Total Cache does not support purging a single tag/category. The workaround is to purge All caches or as I said using custom code.
    What you can do is to hook onto the post-update hook, fetch all posts in the same tag/category and call w3tc_flush_url($url) on those posts.
    I hope this helps!~
    Thank you!

    Hi.
    Try to go to Page Cache, purge policy and try to tick posts pages post page, post terms… And then check.

    • This reply was modified 4 years, 10 months ago by fkoomek.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Purge Single Category Cache’ is closed to new replies.