Support » Plugin: W3 Total Cache » Auto Purge Post in the same tag or categories when new post published in the tag

  • Resolved Mentik Yusmantara


    I have themes that set the related post by tag…
    When i upload new post, how to setting W3TC to purge all post in the same tag as the new post???

    Very thanks
    Mentik Yusmantara

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Marko Vasiljevic


    Hello @mentikyusmantara,

    Thank you for your inquiry and I am happy to assist you with this.
    This can be achieved by custom code.
    What you can do is 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.

    I don’t know how to do it?
    Look like need create custom function in functions.php ??

    I look at my friend website, it use Litespeed cache plugin. It can do automatically.
    Can you add the same feature for W3TC??

    Very thanks

    For now i have use alternative trick, to purge all cache when post published. Its works and easy to implement. But, use more server resource, I think

    Plugin Support Marko Vasiljevic


    Hello @mentikyusmantara,
    At the moment, the only solution is provided in the previous message.
    We will consider implementing this as you suggested in future releases.

    thanks for your support
    W3TC Best cache plugin

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.