Support » Plugin: WP Super Cache » [Plugin: WP Super Cache] Feature request: caching the homepage for a limited time in preload mode

  • Hello dear Donncha,

    I see you are working to improve your wonderful plugin, and wanted to ask for a feature I’ve mentioned here a few times:
    “caching the homepage for a limited time in preload mode”

    I have a busy website with many posts, which I can keep for many weeks as they are. But I would like to have the homepage refresh every half an hour. Right now I solve this by simply not caching the homepage (which is a shame).
    Another way of doing it might be do add the function to use legacy caching to the homepage, so that it will get cleared (while the supercached posts, through the preload, will not be cleared).

    I’d be happy to hear if there is a chance to see this in your new release.

    With regards,
    Tal

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Donncha O Caoimh

    (@donncha)

    You could write a plugin that schedules a job every half hour. That job would delete the homepage.

    It’s possible to do this in WP Super Cache but it’s a specific use and not much use to 99% of users so it’d have to be a more generalised function. Which is harder obviously.

    Hi Donncha,
    Thank you for your reply.

    Question: could this maybe be done using a cron job?
    Is it possible that you will add an option that there will be a unique URL that will clear the cache for some page (for example, the homepage), if it is visited (say, by a cron job)?

    Thanks!

    Tal

    Plugin Author Donncha O Caoimh

    (@donncha)

    Yeah, it could be. You know the path to the cached file in wp-content/cache/supercache/HOSTNAME/index.* so you could unlink those files on a regular basis.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP Super Cache] Feature request: caching the homepage for a limited time in preload mode’ is closed to new replies.