WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WP Super Cache] Cache expiration (3 posts)

  1. Claudio Simeone
    Member
    Posted 6 years ago #

    Hi,

    I would like to know how exactly works the cache expiration. In the WP Super Cache Options you can set the Expiry Time in seconds, so I suppose that every X seconds the cache files are re-created even if the page content is not changed.
    Since I have a lot of posts that will don't change more (about 500/600), I think that's more efficient to generate once the cache files and re-create them only if the post content is changed.
    Does WP Super Cache works this way? And if not, there's a way to do this?
    Can I safely increase the Expiry Time to a month, six months, one year?

    Thanks in advance.

  2. Donncha O Caoimh
    Member
    Posted 6 years ago #

    You can set the expiry really high but that means there'll be a lot of cached files. That's not a problem for WP Super Cache but it is for the WP-Cached files.
    See the FAQ "Why are there two expiry times?" at http://wordpress.org/extend/plugins/wp-super-cache/faq/

  3. Claudio Simeone
    Member
    Posted 6 years ago #

    Thanks for the tip. So, can I set the values this way?
    Expire time: 5 days (in seconds)
    Super Cache Expire time: 10 days

Topic Closed

This topic has been closed to new replies.

About this Topic