WordPress.org

Support

Support » Plugins and Hacks » WP Super Cache » [Resolved] [Plugin: WP Super Cache] Why is max garbage collection time only 1800 seconds?

[Resolved] [Plugin: WP Super Cache] Why is max garbage collection time only 1800 seconds?

  • Hello,
    This isn’t a problem, just something I was curious about. Let’s say I update a blog very rarely (once a week or so), but I get few hundred visits a day so I still benefit from WP Super Cache.

    As far as I understand, garbage collection time refers to how long a cached version of the page is kept. It is deleted (or at least not used anymore) after this time passes. Is that correct?

    I was just wondering why this time can’t be set to higher than 1800 seconds. I mean if I update my blog weekly, a cached version could very well be good for days.

    If I set garbage collection to 0 to disable it, could there be any negative effects? If I publish a new post, the cache will be updated anyway, right?

    Thanks.

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

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

    @donncha

    You can make the expiry time longer than 1800 seconds. If you do then the plugin will check every 10 minutes for out of date files. The idea being that files are generated all the time and will go “stale” all the time too.

    I have my expiry time set to 2 days. 🙂

    Thanks a lot for the explanation. I guess I misunderstood the difference between garbage collection time and expiry time. But everything is clear now 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: WP Super Cache] Why is max garbage collection time only 1800 seconds?’ is closed to new replies.
Skip to toolbar