WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
[resolved] Recommended Expiry Times (5 posts)

  1. Paul OFlaherty
    Member
    Posted 2 years ago #

    As part of optimizing our sites for performance I'm worried about the amount of resources involved with removing cached files vs generating new ones.

    What would you recommend setting the expiry time for cached files on a site doing 50000+ pageviews a day with 7000+ posts? (mod_rewrite).

    We're offloading comments to Facebook so that's not an issue, and using an object cache (WP Widget Cache).

    I currently have the pages set to expire every 2 days and performance is okay but just okay. Should I increase/decrease this or leave it as it do you think?

    Opinions would be great thanks :)

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

  2. Donncha O Caoimh
    Member
    Plugin Author

    Posted 2 years ago #

    There's no right answer to this unfortunately. You should be fine with 2 days but it all depends on how long it'll take to preload the cache each time.

  3. Paul OFlaherty
    Member
    Posted 2 years ago #

    I have WP-Super Cache set to have preload mode "on", but have preloading disabled (0).

    I have removed the bots and crawlers from the rejected user agents so that crawling by Google Bot etc should keep the cache preloaded.

    Any thoughts on that?

  4. Donncha O Caoimh
    Member
    Plugin Author

    Posted 2 years ago #

    The supercached pages won't expire, that's what preload mode does so bots won't refresh any page.

    I'd say turn preload mode off, OR leave it on but do a periodic preload. Whatever suits your needs. There's no right answer.

  5. Paul OFlaherty
    Member
    Posted 2 years ago #

    Thanks Donncha, much appreciated.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic