WordPress.org

Ready to get started?Download WordPress

Forums

WP Cache and WP Super Cache contents (2 posts)

  1. momowp
    Member
    Posted 6 years ago #

    Hello, I've just installed WP Super Cache v.0.5.3 by donncha. I can see in /options/wp super cache page that there are WP-cache and WP-super-cache contents. What is the different? In my data, the WP-cache content has more cached pages than WP-super-cache content.

    Also there are two boxes for expiry time.
    1. Expiry time (default: 3600 seconds)
    2. Super cache expiry time (default: 21600 seconds)
    What is the different between both?

    Thanks to anybody who helps.

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 6 years ago #

    The normal cache is just like WP-Cache was. It stores a static page by creating a hash of several things including cookies and such. This ensures that users who are logged in don't see custom bits on the page that were intended for other users. However, it does mean that some PHP has to be run, to read the cookies and so forth. All logged in users, or users who leave a comment, get these pages.

    For the case where the user is not logged in and has not commented, he gets the WP-super-cache page. These are the "anonymous" versions of the page, but the advantage is that they can be served to users without running any PHP code whatsoever. The .htaccess rules feed the pages straight to the webserver. These can be very fast and will save you from a digg or a slashdoting, because most of those users will not log in or leave comments.

Topic Closed

This topic has been closed to new replies.

About this Topic