WP Super Cache 0.9.6.1

WP Super Cache 0.9.6.1 is now available.

This release adds the following menu item to the admin page.

page_types

You can now choose to not cache different types of pages on your blog. Don’t want to cache your front page? That’s easy now. The indented page types are types covered by the top type. “Archives” covers “Tag” and “Category” pages for example.
See the Conditional Tags codex page for a description of the page types, especially “front page” and “home”.

I also fixed a few bugs, including the AYS problem saving posts which was a problem if you had “Don’t cache for logged in users” enabled.

I never got around to blogging about 0.9.6 but that included an uninstall script that deletes the folders and files created by wp-super-cache. Make sure you read the readme.txt before running it. For security reasons you have to edit the script before using it.

I also updated the mod_rewrite rules in cache/.htaccess (Thanks Andrew!) For some reason the web server forgets the mime type it’s supposed to serve gzipped supercache files as. It should be “text/html” in the cache dir but randomly and on the odd occasion it reverts to the gzip mime type. I examined the cache files when this happens and they look correct. Clearing the cache dir fixes the problem temporarily (and file sizes match before and after). I can’t explain it.
Remove cache/.htaccess if you see this happen (you might need to use the uninstall script) and reload the admin page to regenerate the file. The new rules force the mime type in a different way. Hopefully Apache won’t forget it this time.


29 Comments

Diaan (1 comments.) on July 29, 2009 at 7:29 pm.

Thanks for the update. WP Super Cache is one of the most useful plugins I ever use. :)

Reply

John (1 comments.) on July 29, 2009 at 11:04 pm.

Good plugin. my blog fly now!

Reply

Pande (8 comments.) on July 29, 2009 at 9:44 pm.

Great Plugin!
I hope the gzip issue doesn’t bother us anymore…
;-)

Reply

BlaKKJaKK (8 comments.) on July 29, 2009 at 10:56 pm.

So many updates my heads spinning. Good stuff. Thanks for all the work.

Reply

Mark on July 29, 2009 at 11:04 pm.

I’m not sure if it was WordPress 2.8, or WP Super Cache 0.9.6.1 that caused this to start happening, but several admin pages on our site are now just a blank white page (including the create or edit post pages!). This is ONLY affecting the admin pages (and not even all of them).

If I turn WP Super Cache to “off”, everything works fine (including the post pages). If I set WPSC back to “on”, the white page of death comes back.

Has anyone else encountered this with WP 2.8 and WPSC 0.9.6.1?

Reply

Thuanvh (1 comments.) on August 11, 2009 at 5:40 am.

I have the same problem.
Anyone else help me!
Thanks.

Reply

Matt (2 comments.) on July 29, 2009 at 11:34 pm.

Wonderful addition! :D

I have been holding off of using WP Super Cache on one of my sites, due to only wanting caching of certain types of pages

Reply

George Serradinho (4 comments.) on July 30, 2009 at 6:21 am.

Wow, so many new updates. Thanks for updating the plugin and for the cool new features.

Reply

Mike Abundo (1 comments.) on July 30, 2009 at 10:00 am.

Now all I need is Facebook Connect support and my life will be perfect. Thanks, Donncha! :)

Reply

the_guv (1 comments.) on July 30, 2009 at 11:23 am.

Tx Donncha. Nice new options.

I’ve got a tut about setting up WP Super Cache with Nginx .. thought you’d like to know it seems to work straight off using Nginx, with this update, but will let you know if me or any of my folks have problems.

Reply

palPalani (1 comments.) on July 30, 2009 at 1:21 pm.

I’m still using 0.9.5, is this give any issue?

Reply

Matt (2 comments.) on July 30, 2009 at 2:01 pm.

Like I said above, great addition, I can now use it on one more of my sites.

Would it be possible to take it a step further, and maybe have an option in the posting page to “Not cache post / page”. This would be great for users that for example, use php geo targeting elements on some posts or something.

Reply

Ramoonus (19 comments.) on July 30, 2009 at 2:13 pm.

Is there a way to check if GZIPping is working?

Reply

Ramoonus (19 comments.) on July 30, 2009 at 3:38 pm.

IsMyBlog working tells me :-)
Page size (uncompressed): 110,231 bytes
Download size (compressed): 16,635 bytes
Bandwidth saved by compression: 84.9%

Reply

List on August 14, 2009 at 3:23 pm.

I’m wondering if super-cache could be the cause of this…

Every night I schedule posts for the next morning but the next day, when I check my site, the new posts are not there. The only way I can make them appear is to go into the admin, click on “Posts” where I am told they are “published.” At this point, if I click back to my blog’s home page, the new posts are there. This has happened every day for about a month now.

I am almost positive this is related to super-cache. Anyone else have this problem?

Reply

Donncha (1707 comments.) on August 21, 2009 at 4:42 pm.

That’s odd because that works fine for me on inphotos.org where I occasionally use scheduled posts. Can you debug the plugin, look for the function “wp_cache_post_edit” and perhaps add an error_log() or mail() in there to alert you when it’s kicked off. It should fire whenever the post is published.

It might also be the case that you’re not getting sufficient dynamic traffic. The post is published by the WP Cron system and that needs visitors who request pages that aren’t cached. I know it’s unlikely, but if every single page on your site is cached then there’s a chance no PHP will execute.

Reply

Mike (1 comments.) on August 21, 2009 at 4:27 pm.

Hi List,

YES! That happens to me a lot, but I thought that it was a bug in WordPress, since I’ve been using Super-Cache from the beginning. I just figured that feature “didn’t work” quite right, but I never thought of looking at plug-ins as the source of it.

I agree that a review of the “scheduled publishing” and WP-Super-Cache is a good idea.

Mike

Reply

Nishad Kaippally (1 comments.) on September 24, 2009 at 3:58 am.

WP cache does not work on my site. I recently switched all my websites from windows server to a Linux server. WP super cache works on all but one sites http://nishad.net. this site has filenames in Unicode. Could this be the reason for the failure?

Cheers.

Reply

Donncha (1707 comments.) on September 24, 2009 at 9:37 am.

Nishad – yes, but if you use the plugin in “half on” mode it will work.

Reply

Bill G (1 comments.) on September 24, 2009 at 9:15 pm.

Hi, nice plugin! I noticed that the admin settings for the plugin no longer tell me about .htaccess rules (with the exception of mobile device support, which I do not have enabled). Currently, my .htaccess does not have entries for WP_Super_Cache, but the plugin doesn’t seem to be complaining. Currently it’s set to HALF ON, with Bad Behavior enabled, and it seems to be working ok. Was there any changes lately regarding the need for .htaccess rules?

Reply

real estate (1 comments.) on December 28, 2009 at 11:12 pm.

Hi Donncha, thanks for your plugin.Is there an uninstall plugin available also, as it occasionally interferes with how some of my pages respond.
Many thanks

Andrew.
PropertyNow
Coffs Harbour
Australia

Reply

Donncha (1707 comments.) on December 29, 2009 at 10:38 am.

Yup, read the readme.txt :)

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