vinegar
Member
Posted 3 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!
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.
vinegar
Member
Posted 3 years ago #
of course - thank you for jogging my brain :)
aaurel1an
Member
Posted 3 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!