WP Super Cache 0.6.7

WP Super Cache is a plugin for WordPress that creates cached copies of your blog posts and pages, making your site much faster to serve. It’s also ideal for coping with sudden surges of traffic.

I released a new version of the plugin this morning. This is a bugfix release:

  • Mike Beggs contributed a number of changes:
    1. Better support for Win32 NTFS
    2. Better use of the “Vary” header so proxy servers won’t cache the wrong page. If you see leakage of comment details on posts this will fix that problem.
    3. WP-Cron handles cleanup of expired cache files in the background now.
    4. Disable mod_deflate if it’s running as it sometimes tries to compress gzipped files. Remove wp-content/cache/.htaccess for that file to be updated.
  • Lazy and Otto both recommended using get_comment() instead of the depreciated get_commentdata()
  • A basic “uninstall” function has been added to remove some of the files the plugin creates. It’s called when you deactivate the plugin.
  • PHP running as a CGI doesn’t support apache_request_headers() so that’s been added too.
  • And I almost forgot, the admin page received a slight makeover.

Get the plugin from the download page!


23 Comments

Ramoonus (19 comments.) on August 20, 2008 at 2:00 pm.

i get this error;
Page not cached by WP Super Cache. Could not get mutex lock.

Reply

Donncha (1707 comments.) on August 20, 2008 at 2:04 pm.

Ramoonus – check the readme.txt, this is in the troubleshooting section.

Reply

Ramoonus (1 comments.) on August 20, 2008 at 2:18 pm.

thanks donncha, i had to set $use_flock = true; for it to work!

Reply

Oaky on August 20, 2008 at 4:20 pm.

Does this make it any faster than before?

Reply

Donncha (1707 comments.) on August 20, 2008 at 4:26 pm.

Oaky – nope, just fixes the above bugs.

Reply

sahas (2 comments.) on August 20, 2008 at 6:13 pm.

the admin UI looks beautiful. Good Work!

Reply

bcarter on August 20, 2008 at 6:56 pm.

my wp sites still seem much slower. is there no way to speed wp up?

Reply

Michael Aulia (9 comments.) on August 21, 2008 at 1:31 am.

Always love a new update :) Good work, Donncha

Reply

gowers (1 comments.) on August 21, 2008 at 3:43 am.

Does it really works? I want to have a try.

Reply

George Serradinho (2 comments.) on August 21, 2008 at 8:47 am.

Hi,

I am struggling to get this to work. I have uploaded the new version and still does not work.

Can someone pls help me out here. I will give access to all that is needed.

Reply

Ramoonus (19 comments.) on August 21, 2008 at 9:58 am.

yes it really works ….. and it does it very good!

Reply

Steve (1 comments.) on August 21, 2008 at 12:49 pm.

Anyone done a GoDaddy check on the update to see if it works there yet?

Reply

Donncha (1707 comments.) on August 21, 2008 at 1:21 pm.

Steve – it’s worked on GoDaddy for ages. I fixed that problem in May.

George – best place to work through any installation problems is the forum on the download page. You’ll have to explain in more detail how it doesn’t work.

bcarter – there are plenty of ways!

Reply

Neil (10 comments.) on August 21, 2008 at 6:44 pm.

Finally i said to myself “i am going to get this plugin to properly work” and i did, and it works brilliantly so i thank you!! One thing i would like to ask though is…the plugin is based on the old wp-cache plugin, you took it, pumped it with a valium and this came out. So is it working exactly like wp-cache does, caching your site, and super cache…is it crawling the site caching everything as html files?

There are a few ways to speed up your site, this is one i found was the best, using the caching that wordpress already has coded in : enter this into your config.php and i got a considerable speed difference.

// Enable the WordPress Object Cache:
define('ENABLE_CACHE, true');

Reply

Donncha (1707 comments.) on August 21, 2008 at 8:39 pm.

Neil – the plugin only caches pages that are visited. Caching pages that nobody visits doesn’t make sense!

Good tip on the ENABLE_CACHE, but the apostrophes are in the wrong place, should be:

define( ‘ENABLE_CACHE’, true );

You should also download and install one of the object cache plugins to take advantage of that caching. Google will find them!

Reply

Imran (1 comments.) on August 22, 2008 at 3:45 am.

i am really impressed by your plugin….its a super plugin.

Reply

CMAX (1 comments.) on August 22, 2008 at 6:04 am.

Wow , it works just like Nitro ! :D
tank you for very useful plug-in
Keep Up The Good Work ;)

Reply

Neil (10 comments.) on August 22, 2008 at 1:58 pm.

Funny about the apostrophes, dougal has left them out all together and written a nice post on how to use object cache within wordpress.

Reply

Neil (10 comments.) on August 22, 2008 at 4:55 pm.

Turns out wp super cache looked like it was working, told me it was caching files but it was serving them to other people, i got dugg on front page and now 25 sites have gone down from my clients….man o man i am p****d

Reply

Neil (10 comments.) on August 22, 2008 at 4:55 pm.

Turns out wp super cache looked like it was working, told me it was caching files but it wasnt serving them to other people, i got dugg on front page and now 25 sites have gone down from my clients….man o man i am p****d

*updated*

Reply

Steve (1 comments.) on August 25, 2008 at 12:43 pm.

@Donncha

Ouch! I’m not sure that 3 months counts as “ages”. :-) I’ll try it out again this week (last attempt was probably 10 months ago).

@Neil

Isn’t valium a sedative?

Reply

Leave Your Comment

Your email will not be published or shared. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


Holy Shmoly! is Stephen Fry proof thanks to caching by WP Super Cache