WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
[resolved] Unpublishing post (setting it to "draft"), cache not cleared (3 posts)

  1. hmayer
    Member
    Posted 1 year ago #

    Hi,

    I'm experiencing the following problem in wp_super_cache 1.0:

    I'm running a site where posts need to be unpublished from time to time and shouldn't be available immediately after unpublishing. Is there any way to make wp_super_cache clear cache files on changing the posts publishing status? i have "Clear all cache files when a post or page is published or updated." checked, which perfectly clears cache-files on publishing a post, but i don't see how to achieve this behaviour on setting a post to draft.

    thanks for any hints & best regards,

    h

    http://wordpress.org/extend/plugins/wp-super-cache/

  2. Donncha O Caoimh
    Member
    Plugin Author

    Posted 1 year ago #

    Interesting. The plugin will need to support post transitions to do this right. Currently you'll have to manually clear the cache. Hopefully I'll get this added before the next release.

    http://codex.wordpress.org/Post_Status_Transitions

  3. hmayer
    Member
    Posted 1 year ago #

    thanks for the reply - great if this feature can make it into a future release

    best,
    h

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic