WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WP Super Cache] Any tips on choosing an expiry time? (4 posts)

  1. Pinoy.ca
    Member
    Posted 4 years ago #

    Admit it -- this plugin reduces your blog's carbon footprint. :)

    The plugin says,

    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. Experiment with different values and visit this page to see how many expired files remain at different times during the day. Aim to have less than 500 cached files if possible.

    How about blogs that are rarely commented upon? How about the "not so busy" blogs with thousands of posts? Is having an expiry time of 43200 seconds (12 hours) inadvisable? If a half-hour expiry time produces a cache size of 100 pages, is it advisable to raise it five times? Or more? (Isn't disk space cheap?)

    In short, what are the telltale signs that the expiry time is too short or too long?

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

  2. Donncha O Caoimh
    Member
    Posted 4 years ago #

    There's no right answer. Leave it at the default and if your site's load goes down then that's the right one.
    There's no harm changing it but just keep an eye on the number of cached pages. If someone does leave a comment, the plugin will have to go through a lot more cached files to delete them.

  3. Pinoy.ca
    Member
    Posted 4 years ago #

    If someone does leave a comment, the plugin will have to go through a lot more cached files to delete them.

    Does your "Aim to have less than 500 cached files if possible" advice refer to WP-Cache files or WP-Super-Cache files?

    I'd like to have an idea of the impact of having 1000 WP-Super-Cache files, as long as the WP-Cache files are few.

  4. Donncha O Caoimh
    Member
    Posted 4 years ago #

    How long is a piece of string? It depends on so many things! Just try and see. It'll more than likely be perfectly fine.

Topic Closed

This topic has been closed to new replies.

About this Topic