Support » Plugin: W3 Total Cache » Purge Policy for Custom Post Type Archives

  • I have a site which uses several custom post types (including events and programs). When I post a new post of a custom post type it looks like the cache is not being purged like it is when a regular post is published, the post doesn’t appear on the site until the cache expires. How do I go about setting up W3 Total Cache to purge the cache when a post for a custom post type is published? Can this be done through the plugin settings in the admin or can it be done through the save posts action?

    Thanks for your help!

Viewing 16 replies (of 16 total)
  • Hello everyone

    thanks to all that contributed to this thread it is a good starting point as i am having the same problem with custom post types, so i will try @amiga500 snippet. However i experience another issue. I see that when a new post/custom post is published and displayed in the front page, the post that should be pushed in the 2nd page is not shown there. It looks like the rest of the page/2,3,4 etc are not purged. I was thinking of trying to do something similar of what @amiga500 has done but i was wondering if anyone has had a similar issue.

    • This reply was modified 6 years, 9 months ago by tolisp.
Viewing 16 replies (of 16 total)
  • The topic ‘Purge Policy for Custom Post Type Archives’ is closed to new replies.