WP Super Cache is a page caching plugin for WordPress that will significantly speed up your website.
If you’re not interested in the changes, simply grab the latest version of the plugin and copy the files into your plugin folder. It’ll work, but if you’re upgrading, you should read on.
Major changes in this release:
- Generate a semaphore id based on hostname and cache path to avoid problems on shared hosts, props Tigertech.
- If you run WordPress from a different directory to where it’s installed, supercached files weren’t deleted when a post was made or updated. That is now fixed. Thanks Viper007Bond for all your help on that.
- Paged archives, category pages, and tag pages are now cleared when a post is edited or comment approved. This replicates what WP Cache did all along so you should hopefully see supercached static files updating more often.
- If your .htaccess is read-only, the mod_rewrite rules are displayed on the admin page. Thanks Matt for the patch.
- Updated mod_rewrite rules won’t serve static html files if there’s a “=” in the url. Should catch all sorts of problems with plugins and attachments. You’ll have to manually edit your root .htaccess to match the new rules.
- Set cache control and expiry headers of supercached files. They are cached for 5 minutes, but with a “must-revalidate” header. Delete wp-content/cache/.htaccess for the new rules to be updated.
- Check for WordPress MU because it can’t update the .htaccess file.
- Write supercache html to temporary files and rename. The old way opened the correct file for writing, did some work and wrote the file. In the fraction of a second it took to write the file, someone might request it and get an incomplete page.
- The Supercache expiry time has been removed. There can be only one.
Edit: 0.8.1 has just been released. This addresses the following:
- The “forbidden files” problems some users had is fixed.
- Supercache files were being removed needlessly when a moderated comment was made.
- I added a “Clear cached files when post is edited” checkbox.
- I added a “Delete Cache” link next to the Dashboard link on the dashboard.
- Tigertech found that when a file is renamed and the new filename is already used, the old remains.
- Updated readme.txt.