[Plugin: WP Super Cache] Forcing A Recache Due To Third Party Plugin (2 posts)

  1. macharborguy
    Posted 8 years ago #

    Hello, I was wondering if there was a way for a plugin I made to tell WPSuperCache to recache a page because XYZ situation.

    Example: I aggregate podcast RSS feeds of third-parties and display the latest episode of each in a descending list. What I would like is to have the ability for the plugin to basically tell WP-Cache the date of the latest aggregated episode, and if the latest cached page is older than the latest episode, the page is re-cached so the episode list is up to date.

    Are there any hooks in WP-Super Cache that would allow me to do this? If not, I think it would be a nice addition to a future version. Maybe a WPSuperCache API. :) thanks

  2. triffid
    Posted 8 years ago #

    Try calling wp_cache_post_change($post_id).

Topic Closed

This topic has been closed to new replies.

About this Topic