Skip to main content
Agency Program Hosting from 10% off. A dedicated account manager. Priority support. Built for growing agencies. Hosting from 10% off, a dedicated account manager and priority support for growing agencies. Speak to the team Join free
WP Super Cache icon

WP Super Cache

v3.1.5
by Automattic · 4.3 (1,346 reviews)

A very fast caching engine for WordPress that produces static html files.

1M+ active installs Updated Nov 02, 2026 Tested to 7.1.5 Requires PHP 7.4
Try Demo Download
Pre-installed Ready in ~10s No card
WP Super Cache

About WP Super Cache

This plugin generates static HTML files from your WordPress blog, which makes your website faster and more efficient. The majority of your visitors will be served these static files, and the plugin offers different caching methods to optimize performance. It also provides various settings and troubleshooting options to ensure smooth operation.

Frequently asked questions

What does this plugin do?
This plugin generates static html files from your dynamic WordPress blog. After a html file is generated your webserver will serve that file instead of processing the comparatively heavier and more expensive WordPress PHP scripts.
How does the plugin serve cached files?
The plugin serves cached files in 3 ways (ranked by speed):nn1. Expert. The fastest method is by using Apache mod_rewrite (or whatever similar module your web server supports) to serve “supercached” static html files.n2. Simple. Supercached static files can be served by PHP and this is the recommended way of using the plugin.n3. WP-Cache caching. This is mainly used to cache pages for known users, URLs with parameters and feeds.
What are the recommended settings for the plugin?
The recommended settings are:nn1. Simple caching.n2. Compress pages.n3. Don't cache pages for known users.n4. Cache rebuild.n5. CDN support.n6. Extra homepage checks.
What is garbage collection?
Garbage collection is the act of cleaning up cache files that are out of date and stale. It is recommended to set the expiry time to 1800 seconds.
How can I troubleshoot issues with the plugin?
If things don't work when you installed the plugin, you can check the following:nn- Is wp-content writable by the web server?n- Is there a wp-content/wp-cache-config.php file?n- Is there a wp-content/advanced-cache.php file?n- Is the constant WP_CACHE defined in wp-config.php?n- Are there directories and files in wp-content/cache/supercache/?n- Are there any error messages in the php error_log?n- Are there any issues with file permissions or file locking?n- Is the cache directory on a local disk?n- Is wp-cron.php accessible?n- Are the required Apache modules (mod_mime, mod_headers, mod_expires) enabled?n- Is the path to wp-cache-phase1.php correct in wp-content/advanced-cache.php?n- Are the mod_rewrite rules in the .htaccess file correct?n- Are there issues with compression or PHP error messages?n- Is APC causing issues?n- Have you regenerated the permalinks after uninstalling the plugin?n- Is your wp-config.php file correct?n- Have you checked the encoding settings?n- Have you checked the scheduled jobs with Cron View?n- Is the constant WPCACHEHOME set correctly?n- Are there issues with semaphores or file locking?n- Is the variable $htaccess_path set correctly?

Changelog

3.1.5 – 2026-11-02

  • Fix: requests with a malformed Host header are no longer cached or served from the cache, so they can no longer overwrite another page’s cached copy.

3.1.4 – 2026-09-30

  • Fix: the settings page no longer scrolls sideways in right-to-left languages.
  • Update the tested-up-to version to WordPress 7.1.

3.1.3 – 2026-08-26

  • Fix: a direct page path ending in a backslash no longer breaks the cache config file.
  • Fix: sanitise the CDN URL and CNAME settings so a value containing a quote or an angle bracket can no longer break the asset URLs they are substituted into.
  • Fix: escape string settings written to the cache config file, so a value containing a quote or a backslash no longer corrupts it.
  • Fix: a cookie named “0” could make a logged-in visitor look anonymous to the cache, so their page was served to everyone.

3.1.2 – 2026-08-19

  • Fix: stop the error log filling with path length warnings when a request URL is too long to build a cache directory from.
  • Fix: clear the cache for category, tag and archive pages whose slug contains non-ASCII characters. The delete cache button could not clear those pages either, and now can.
  • Fix: clear the cache correctly when saving a post whose slug contains non-ASCII characters.
  • Removed the Bad Behavior plugin integration. The upstream plugin is no longer maintained and a long-standing inverted guard meant the integration never actually ran.
  • Fix: ignore a post ID of 0 when clearing the cache after a post edit, which could delete the front page cache unexpectedly.
  • Split wp-cache.php into per-responsibility inc/ files (#1061) (#1065)
  • Fix: cache modern security headers, including Permissions-Policy, the Cross-Origin-Opener/Embedder/Resource-Policy family and the remaining CORS headers, so they are sent on cached responses.
  • Fix: honour quality values in the Accept header, so monitoring tools and browsers that list JSON below HTML are served the cached page instead of rebuilding it on every request.
  • Fix: hide debug HTML comments in REST and Ajax responses (#1021)

3.1.1 – 2026-05-27

  • Security: harden supercache filename generation so request-derived data cannot escape the cache directory.
  • Fix: avoid a fatal error on PHP 8+ when closing an unopened file handle in supercache-only mode.
  • Fix: cast the blog ID in wp_cache_clear_cache() so non-integer callers no longer trigger a multisite-only function on single-site installs.
  • Fix: no longer append HTML debug comments to REST API, Ajax, JSON, WooCommerce API, and XML-RPC responses.
  • Fix: avoid a PHP warning when a comment has already been deleted before the cache-clear routine runs.

Try other plugins

Yoast SEO icon

Yoast SEO

4.8 · 10M+ installs

Improve your WordPress SEO: Write better content and have a fully optimized WordPress site using the Yoast SEO…