Note: WP Super Cache stopped working while the blog was using version 3.2. One day it was working, the next day it was not.
I’ve been using WP SuperCache since it was first released and it’s always worked fine on my 6 year old blog up till a couple of versions ago. Unfortunately, without any significant changes to my hosting server (Bluehost), plugins that I use or theme, Super Cache simply stopped working one day (.9.x series) and has not worked since up to and including 1.0. As I said before, Super Cache has always worked flawlessly for me in the past and it’s not like I performed some massive change to the site. Super Cache was simply working one day and then stopped working the next–no entries in any error log. The one error I can see is when I hit the “Test” button, I get these results:
Fetching http://just-thinkin.net/ to prime cache: OK
Fetching first copy of http://just-thinkin.net/: OK (1.html)
Fetching second copy of http://just-thinkin.net/: OK (2.html)
The pages do not match! Timestamps differ or were not found!
(I always use mod_rewrite to serve cache files.)
The timestamps are definitely not there in fact all WP SuperCache entries have disappeared from the bottom of any page source. When checking the site via Filezilla all SuperCache directories and files are in place, all absolute paths are correct. However, the single exception to all this is that there are no cached (page) files in ‘wp-content/cache’ whatsoever nor is there a ‘wp-content/cache/supercache/just-thinkin.net/’ directory and if I manually create one, it always remains empty.
Enabling debugging gave me a clue though. It states that for every page viewed it gives me this:
“(path to page…) DONOTCACHEPAGE defined. Caching disabled.”
These viewed pages are from visitors to my site and are not viewed by myself while logged in. The kicker here is that DONOTCACHEPAGE is not defined. Caching is enabled, the .htaccess entries are correct as is the “wp-config” (“define(‘WP_CACHE’, true); //Added by WP-Cache Manager”) entry and the line is placed properly as well. Nowhere in any Super Cache setting is caching not defined.
And the real crusher is that W3TC works fine when I tried it.
I’ve deactivated all my plugins, changed to the default theme, checked all the troubleshooting points and nothing. And I really don’t wish to change to W3TC as I simply do not need all the myriads of options.
Any help you could give me will be well appreciated.
- The topic ‘WP Super Cache shows DONOTCACHEPAGE defined for every page viewed’ is closed to new replies.