Why Is My WP Super Cache Showing 0 Cached Pages? A Troubleshooting Guide
Content
Seeing a big, fat zero in your WP Super Cache statistics is a common and frustrating experience. Your plugin seems to be working, but the "Cache Contents" tab reports 0 cached pages, leaving you wondering if caching is even active. This guide will walk you through the most common reasons for this and how to fix them.
Why This Happens
The "0 Cached Pages" message can be misleading. It doesn't always mean caching is broken. Often, it's a symptom of another configuration or environmental issue preventing the plugin from storing or reporting cache files correctly. The problem usually falls into one of these categories: user status, cache preloading, server configuration, or statistics reporting.
Common Solutions
1. Check if Caching is Actually Working
Before you panic, verify that pages are truly not being cached. The statistics on the admin screen can sometimes be outdated or incorrect.
- View Page Source: Visit your site in a private/incognito browser window. Right-click and select "View Page Source." Scroll to the very bottom. If caching is working, you should see a comment like:
<!-- Cached page generated by WP-Super-Cache on 2023-10-05 12:34:56 -->
If you see this, your pages are being cached, and the issue is likely with the statistics generation. - Regenerate Stats: On the "Contents" tab, simply click the "Regenerate Cache Stats" button. This forces the plugin to recount the cache files.
2. The "Logged-In User" Problem (The Most Common Cause)
WP Super Cache is designed not to cache pages for logged-in users by default. However, many modern plugins (e.g., cookie consent banners, analytics tools) set cookies for all visitors, making WP Super Cache treat everyone as a "known user" and bypassing the supercache.
- Enable Debugging: This is the most crucial step. Go to the plugin's "Debug" section and enable logging. Set "Debug Level" to "All visitors." Now, visit your site in a private browser window and check the log. You will see lines like:
wpsc_get_auth_cookies: cookies detected: cookie_name
wpsc_is_caching_user_disabled: true because cookie detected
Caching disabled for logged in users on settings page.
This log will explicitly name the cookie that is preventing caching. - Modify Rejected Cookies: In the "Advanced" tab, find the "Rejected Cookies" box. Add the cookie name identified in the debug log to this list. This tells the plugin to ignore that specific cookie and serve a cached page.
3. Server and File Permission Issues
The plugin needs the correct permissions to create files in the wp-content/cache/ directory.
- Check File Permissions: Ensure the
wp-content/cache/directory and all folders within it are writable by your web server (usually permission 755 or 775). - Check advanced-cache.php: Verify that the
wp-content/advanced-cache.phpfile exists and was created by the plugin during setup. - Preload Test: Use the "Preload" feature. If preloading generates cache files (you can check via FTP), but normal browsing doesn't, it strongly points to the "user cookie" issue described above.
4. Conflicting Plugins and Caching Modes
- Plugin Conflicts: Temporarily disable other caching or optimization plugins (e.g., AutoOptimize) to test if they are interfering with WP Super Cache's ability to write files.
- Understand WP-Cache vs. WP-Super-Cache: It's normal to see files under "WP-Cache" and not "WP-Super-Cache" for certain requests. WP-Cache handles requests with cookies or parameters (like
?fbclid=...from Facebook), while WP-Super-Cache serves pure static HTML files. If many visitors have cookies, WP-Cache will be used more often.
Conclusion
The "0 Cached Pages" issue is rarely a fatal error. In most cases, caching is working, but the statistics are misleading, or a common plugin cookie is preventing the supercache from being used. Start by enabling the debug log—it is the single most powerful tool for diagnosing exactly what is happening on your site.
Related Support Threads Support
-
0 cached files?https://wordpress.org/support/topic/0-cached-files/
-
Cache size increasehttps://wordpress.org/support/topic/cache-size-increase/
-
Сache Files disappear randomly timehttps://wordpress.org/support/topic/%d1%81ache-files-disappear-randomly-time/
-
Clean cache every dayhttps://wordpress.org/support/topic/clean-cache-every-day/
-
Cache isn’t speeding my site up it is making it very slowhttps://wordpress.org/support/topic/cache-isnt-speeding-my-site-up-it-is-making-it-very-slow/
-
Cache cleared after awhilehttps://wordpress.org/support/topic/cache-cleared-after-awhile/
-
Cache Contents – Super Cache (0)https://wordpress.org/support/topic/cache-contents-super-cache-0/
-
SuperCache Being Removed after 3-5 secondshttps://wordpress.org/support/topic/supercache-being-removed-after-3-5-seconds/
-
0 cached pageshttps://wordpress.org/support/topic/0-cached-pages-5/
-
Cache Contenthttps://wordpress.org/support/topic/cache-content/
-
Cache Contents list empty after PHP 7.3.19 upgradehttps://wordpress.org/support/topic/cache-contents-list-empty-after-php-7-3-19-upgrade/
-
no Super-Cache Files? WP-Super-Cache (0KB)https://wordpress.org/support/topic/no-super-cache-files-wp-super-cache-0kb/
-
Page not cached? Whyhttps://wordpress.org/support/topic/page-not-cached-why/
-
Cache Contentshttps://wordpress.org/support/topic/cache-contents-2/
-
WP-Cache vs WP-Super-Cachehttps://wordpress.org/support/topic/wp-cache-vs-wp-super-cache-3/
-
Wp-Super-Cache Not Working – Cache Contents 0https://wordpress.org/support/topic/cache-contents-0/
-
Directly Cached Files pages Forbiddenhttps://wordpress.org/support/topic/directly-cached-files-pages-forbidden/
-
No Cached FIleshttps://wordpress.org/support/topic/no-cached-files/
-
Facebook new fbclid argument on all URLs is killing cachehttps://wordpress.org/support/topic/facebook-new-fbclid-argument-on-all-urls-is-killing-cache/
-
Super Cache is not formedhttps://wordpress.org/support/topic/super-cache-is-not-formed/
-
0 Cached Pageshttps://wordpress.org/support/topic/0-cached-pages-3/
-
No Caching?https://wordpress.org/support/topic/no-caching-3/
-
Page not cached by WP Super Cachehttps://wordpress.org/support/topic/page-not-cached-by-wp-super-cache-2/
-
I don’t understand the difference between WP-Cache and WP-Super-Cachehttps://wordpress.org/support/topic/i-dont-understand-the-difference-between-wp-cache-and-wp-super-cache/
-
0 Cached Pageshttps://wordpress.org/support/topic/0-cached-pages-4/
-
Edge case can lead to blank page being servedhttps://wordpress.org/support/topic/edge-case-can-lead-to-blank-page-being-served/
-
Caching unexpanded shortcodehttps://wordpress.org/support/topic/caching-unexpanded-shortcode/
-
Website loading Old cachehttps://wordpress.org/support/topic/website-loading-old-cache/
-
Не работает WP-Super-Cache 1.7.7https://wordpress.org/support/topic/%d0%bd%d0%b5-%d1%80%d0%b0%d0%b1%d0%be%d1%82%d0%b0%d0%b5%d1%82-wp-super-cache/