WordPress.org

Forums

[Plugin: WP Super Cache] force cache refresh at certain times (4 posts)

  1. vinegar
    Member
    Posted 6 years ago #

    Is it possible to force WP Super Cache to refresh the cache of a specific page at a certain time of day?

    i've got a site that has a daily event and while i love what WP Super Cache does for my database's health and well-being, i'd like to be able to force it to recache the event page when the event starts so i don't have any lag between the start of the event and when people see the new content.

    thanks for any help any of you can give!

  2. Donncha O Caoimh
    Member
    Posted 6 years ago #

    Yeah, just set up a cron job either in WordPress to call the prune_super_cache() function at the right time.
    Or a server cron job could delete the cache files in wp-content/cache/ at whatever time you like.

  3. vinegar
    Member
    Posted 6 years ago #

    of course - thank you for jogging my brain :)

  4. aaurel1an
    Member
    Posted 6 years ago #

    donncha - can you be more specific about that prune thingy?

    How is that used. Can you please set up an example?

    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic