WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WP Super Cache] question abount very long expire times (4 posts)

  1. Joost
    Member
    Posted 4 years ago #

    Hi, I am busy with converting a blog to wordpress, and I need caching. WP super cache seems to be the candidate, but I am not sure if it can do what I want it to do:

    - create static pages of all my current blog articles (>1000 articles)
    - only expire them after a comment has been given, change has been made to the article, or when I press a button.
    - refresh homepage only after comment, change, delete or add of article.

    Side blogs, comments etc will be loaded using ajax.

    What worries me, in the settings it says: "Checking for and deleting expired files is expensive, but it’s expensive leaving them there too."

    Why the last remark? As Super Cache is serving static files, it can never be more expensive than serving the same file dynamically, even when having 1000s of cached files. Or am I missing something?

  2. Joost
    Member
    Posted 4 years ago #

    bump!

  3. Donncha O Caoimh
    Member
    Posted 4 years ago #

    If your server dies and the disk needs to be checked a lot of cache files can make that process very long.

    Anyway, unless your blog is a real resource hog and it takes ages to generate a page (in which case you have other problems!) there's no good reason to cache every page. Most of them probably won't even be visited ever.

  4. Joost
    Member
    Posted 4 years ago #

    A bit late, but a response anyway. I probably wasn't clear enough.

    Now the system works as follows.

    1. check for cached version
    2. if present and not older than certain age
    3a. serve page
    3b. else generate cached page and serve page

    I want to have exactly the same, but without the expiring cached pages. Only when a comment is placed, or the article is updated, it should be removed and the cache should be renewed.

Topic Closed

This topic has been closed to new replies.

About this Topic