"Delete This Page From Cache" for WP Super Cache (3 posts)

  1. Ian Stewart
    Theme Wrangler
    Posted 7 years ago #

    I think a "Delete This Page From Cache" option might be a nice feature (although the wording might be too strong). Or maybe a list of pages that will be deleted from the cache when posts are published, set in the options page. Reason being, my static home page remains cached when the blog is updated, which means my list of recent posts on the home page stays cached too.

    This is a nit-picky feature request though. Super Cache is an awesome plugin. :)

  2. Donncha O Caoimh
    Posted 7 years ago #

    A better solution is for the plugin to notice that a page is used as the homepage and clear the cache for that.

    But yes, a "Delete this page" function would be nice. On the TODO list.

    Anyone want to contribute a patch? No? Go on, it's only code.

  3. Donncha O Caoimh
    Posted 7 years ago #

    Replace your install with the files from here (or the dev version which should update within 15 minutes of this posting)

    I added code to delete those static pages.

Topic Closed

This topic has been closed to new replies.

About this Topic