Batch Purge for Selective Pages
-
We’ve got an automated process that regularly imports videos from Brightcove into our WordPress install as posts. There are several pages across the site where we’re featuring these videos within a loop. However, since the site is being cached by W3 Total Cache, I either have to manually purge the page cache for each related page or purge the entire page cache.
I’d rather not purge the entire page cache as our site is heavily trafficked and we’ve got several thousand pages. However, clearing the page cache for each page featuring the loop is tedious.
Is there a function I can pass an array of post id’s to have those specific posts purged from the page cache? I’d love to be able to build that into the video import process.
Thanks!
- The topic ‘Batch Purge for Selective Pages’ is closed to new replies.