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

  1. vinegar
    Posted 8 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
    Posted 7 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
    Posted 7 years ago #

    of course - thank you for jogging my brain :)

  4. aaurel1an
    Posted 7 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