Installed WP Super Cache

update 1-16-10: I’ve been using only WP Super Cache for a while now. It’s great.

We’ll see how well installing Super Cache goes…

update 4-20-09: I replaced Super Cache with Hyper Cache and DB Cache. Look.

update 3-26-08: after a day, it’s starting to look pretty super! Page load times are super-fast. :-) And if (ahem) my SQL server is running slow, the blog isn’t slowed down at all unless you try writing (IE, leaving a comment)

update 3-27-08: WP Super Cache is a keeper. It’s got 2 parts, WP-Cache that runs PHP and does database calls only if it the current cached version isn’t up-to-date and/or there is no cached version. There may have been changes at Dreamhost but it seems that Super Cache is a faster WP-Cache than WP-Cache.

The second part, Super-Cache is just supa fast. It kicks in for people that aren’t logged in and don’t have a cookie showing that they’ve commented recently. This serves cached blog files as fast as flat html files. While in this second mode, viewers sometimes miss new comments and changes to pages until the cache times-out, which isn’t a big deal for people that have never commented (and therefore likely don’t really care if they see a new comment in 5 seconds instead of 6 hours)

update 4-3-08: Oh yeah, it’s a total keeper. I like seeing my site load this fast.

FYI, here is my .htaccess file for 0.6.1

# Begin Sitemap. See... http://blog.leion.net/2006/06/02/adding-human-readable-google-sitemap/
AddType application/xml .xsl
# End Sitemap
# BEGIN WPSuperCache
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteCond %{QUERY_STRING} !.*s=.*
RewriteCond %{HTTP_COOKIE} !^.*(comment_author_|wordpress|wp-postpass_).*$
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteCond %{DOCUMENT_ROOT}/blog/wp-content/cache/supercache/%{HTTP_HOST}/blog/$1/index.html.gz -f
RewriteRule ^(.*) /blog/wp-content/cache/supercache/%{HTTP_HOST}/blog/$1/index.html.gz [L]
RewriteCond %{QUERY_STRING} !.*s=.*
RewriteCond %{HTTP_COOKIE} !^.*(comment_author_|wordpress|wp-postpass_).*$
RewriteCond %{DOCUMENT_ROOT}/blog/wp-content/cache/supercache/%{HTTP_HOST}/blog/$1/index.html -f
RewriteRule ^(.*) /blog/wp-content/cache/supercache/%{HTTP_HOST}/blog/$1/index.html [L]
</IfModule>
# END WPSuperCache
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>
# END WordPress

Leave a Comment

Do not write "http://" or "https://" in your comment, it will be blocked. It may take a few days for me to manually approve your first comment.