• Resolved Mentik Yusmantara

    (@mentikyusmantara)


    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 Contributor Marko Vasiljevic

    (@vmarko)

    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.

    Thread Starter Mentik Yusmantara

    (@mentikyusmantara)

    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

    Thread Starter Mentik Yusmantara

    (@mentikyusmantara)

    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 Contributor Marko Vasiljevic

    (@vmarko)

    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.

    Thread Starter Mentik Yusmantara

    (@mentikyusmantara)

    thanks for your support
    W3TC Best cache plugin

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Auto Purge Post in the same tag or categories when new post published in the tag’ is closed to new replies.