WordPress.org

Ready to get started?Download WordPress

Forums

Pros and Cons for high “expire time” on wp-super-cache or w3-total-cache? (2 posts)

  1. talgalili
    Member
    Posted 2 years ago #

    In the wp-super-cache page, there is the following sentence, which I do not understand::

    Checking for and deleting expired files is expensive, but it’s expensive leaving them there too. On a very busy site you should set the expiry time to 300 seconds.
    Let's say that I am using a low expiry time, doesn't that mean that the cache needs to rebuild over and over every 300 seconds?

    I mean, most of my content (except for the home page), does not change. So why should I matter if most of the posts will simply stay the same for days?

  2. Frederick Townes
    Member
    Posted 2 years ago #

    It doesn't matter if a post/page doesn't have any comments and doesn't change, it matters when you have to do garbage collection on thousands of pages and delete the cache files all at the same time, it can be difficult for some servers or in some cases.

Topic Closed

This topic has been closed to new replies.

About this Topic