Cache Enabler – WordPress Cache


WordPress Cache Engine

The Cache Enabler plugin creates static HTML files and stores them on the servers disk. The web server will deliver the static HTML file and avoids the resource intensive backend processes (core, plugins and database). This WordPress cache engine will improve the performance of your website.


  • Efficient and fast disk cache engine
  • Cancellazione della cache automatizzata e/o manuale
  • Manually clear the cache of specific pages
  • WP-CLI cache clearing
  • Display of the actual cache size in your dashboard
  • Minificazione dell’HTML e dello JavaScript inline
  • WordPress multisite supportato
  • Custom Post Type supportati
  • Direttiva Expiry
  • Support of 304 Not Modified if the page has not modified since last cached
  • WebP Support (when combined with Optimus)
  • Supporta le immagini responsive tramite srcset da WP 4.4
  • Lavora perfettamente con Autoptimize

Cache Enabler is the first WP plugin to allow you to serve WebP images without JavaScript and also fully supports srcset since WP 4.4. WebP is a new image format that provides lossless and lossy compression for images on the web. WebP lossless images are 26% smaller in size compared to PNGs.

Come funziona il caching?

This plugin requires minimal setup time and allows you to easily take advantage of the benefits that come from using WordPress caching.

The WordPress Cache Enabler has the ability to create 2 cached files. One is plain HTML and the other version is gzipped (gzip level 9). These static files are then used to deliver content faster to your users without any database lookups or gzipping as the files are already pre-compressed.

When combined with Optimus, the WordPress Cache Enabler allows you to easily deliver WebP images. The plugin will check your upload directory for any JPG or PNG images that have an equivalent WebP file. If there is, the URI of these image will be cached in a WebP static file by Cache Enabler. It is not required for all images to be converted to WebP when the “Create an additional cached version for WebP image support” option is enabled. This will not break any images that are not in WebP format. The plugin will deliver images that do have a WebP equivalent and will fall back to the JPG or PNG format for images that don’t.


  • Clear all pages cache.
    wp cache-enabler clear

  • Clear the page cache for post IDs 1, 2, and 3.
    wp cache-enabler clear –ids=1,2,3

  • Clear the page cache for a particular URL.
    wp cache-enabler clear –urls=

  • Clear all pages cache for sites with blog IDs 1, 2, and 3.
    wp cache-enabler clear –sites=1,2,3

Sito web

Requisiti di sistema

  • PHP >=5.6
  • WordPress >=5.1


  • Anyone is welcome to contribute to the plugin on GitHub.
  • Please merge (squash) all your changes into a single commit before you open a pull request.



  • Cache Enabler settings page
  • Display of the cache size in your dashboard


24 Ottobre 2020
Ни каких настроек. Запустил и все работает из коробки так сказать! Причем работает очень быстро.. не хуже чем wp-rocket.
12 Ottobre 2020
I have to admit this is by far the best cache plugin for WordPress I've used in the past 10 years. And I did use quite a bit of different plugins over the years. This is the simplest yet most effective cache plugin to date, and it really deserves all the praise. The developer really cares for his users, so if you have a question or an issue, you can expect to get some good answers and solutions from him. Thank you for such a great plugin.
12 Ottobre 2020
With the release of Cache Enabler 1.5.x this plugin is now the single best caching plugin available for WordPress. The new caching system used in the latest update makes controlling cache updates a breeze, especially if you use APIs to update your content via wp_update_post(). Thank you for all the work you have done to make this plugin.
3 Ottobre 2020
Fast and simple. I use the plugin in conjunction with KeyCDN's CDN Enabler plugin and Optimus to create WebP images. Feature request: I would love to use KeyCDN's image processing functionality. I understand how the query parameters work. But I would love some type of WordPress plugin to make it easier to add query parameters to all images.
Leggi tutte le recensioni di 97

Contributi e sviluppo

“Cache Enabler – WordPress Cache” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.


“Cache Enabler – WordPress Cache” è stato tradotto in 6 lingue. Grazie ai traduttori per i loro contributi.

Traduci “Cache Enabler – WordPress Cache” nella tua lingua.

Ti interessa lo sviluppo?

Esplora il Codice segui il Repository SVN iscriviti al Log delle Modifiche. Puoi farlo tramite RSS con un lettore di feed.

Changelog (registro delle modifiche)


  • Update advanced cache to prevent potential errors (#161)
  • Update getting settings to create settings file if cache exists but settings file does not (#159)
  • Fix getting settings file edge cases (#158)
  • Fix cache expiry


  • Update default query string exclusion (#155)
  • Update cache engine start check (#155)


  • Add default query string exclusion (#154)


  • Update late cache engine start to be on the init hook instead of plugins_loaded (#153)
  • Add deprecated variable that was previously deleted to improve backwards compatibility (#153)
  • Fix WP-CLI notice errors (#153)
  • Fix creating settings file on plugin update


  • Fix getting settings file


  • Update settings file type to PHP instead of JSON (#147)
  • Update settings file(s) storage location (#147)
  • Update plugin activation, deactivation, and uninstall handling (#147)
  • Update HTML minification to also include or exclude inline CSS (#147)
  • Update cache size handling for multisite networks (#147)
  • Update WP_CACHE constant handling (#140)
  • Update cache cleared admin notice (#139)
  • Update admin bar clear cache buttons (#139)
  • Update output buffer timing to start earlier on the init hook instead of template_redirect (#137)
  • Update default cache behavior to not bypass the cache for query strings (#129)
  • Update cache clearing setting for when any post type is published to include all post actions (#142)
  • Update cache clearing setting for post actions to clear the page and/or associated cache by default (#142)
  • Update settings page layout (#129 and #142)
  • Update WebP URL conversion for images with density descriptors (#125)
  • Add cache engine to improve handling and performance (#147)
  • Add cache bypass method for Ajax, REST API, and XMLRPC requests (#147)
  • Add new cache clearing structure for post publish, update, and trash actions (#129)
  • Add post type, taxonomies, author, and date archives to the new associated cache (#129)
  • Add new cache exclusions setting for query strings (#129)
  • Fix cache size file status edge case (#147)
  • Fix WP_CACHE constant not being set edge case (#140)
  • Fix settings file from using unvalidated data (#129)
  • Fix clear URL admin bar button for installations in a subdirectory (#127)
  • Fix WebP URL conversion for installations in a subdirectory (#125)
  • Remove cache clearing publishing action from post sidebar in favor of the new cache clearing structure for post actions (#129)
  • Remove cache clearing setting for WooCommerce stock updates in favor of the new cache clearing structure for post actions (#129)
  • Remove cache inclusions setting for URL query parameters because of the updated default cache behavior for query strings (#129)


  • Fix WebP URL conversion changing all image paths to lowercase


  • Update WebP URL conversion for inline CSS (#116)
  • Update WP-CLI clear subcommand messages (#111)
  • Update WP-CLI clear subcommand for multisite networks (#111)
  • Fix WebP URL conversion image matching edge cases (#116)
  • Fix cache clearing for installations in a subdirectory
  • Fix advanced cache settings recognition for installations in a subdirectory
  • Fix file permissions requirement notice


  • Update getting wp-config.php if one level above installation (#106)
  • Add clear types for strict cache clearing (#110)
  • Fix advanced cache settings recognition for subdirectory multisite networks
  • Fix WP-CLI clear subcommand for post IDs (#110)
  • Fix scheme-based caching for NGINX/PHP-FPM (#109 @centminmod)
  • Fix trailing slash handling


  • Add cache bypass method for sitemaps (#104)
  • Fix cache clearing for subdirectory multisite networks (#103)


  • Update WP_CACHE constant handling (#102)
  • Add cache bypass method for WP_CACHE constant (#102)
  • Add translation descriptions (#102)
  • Fix cache handling for default redirects (#102)


  • Update cache handling for HTTP status codes (#100)


  • Update cache clearing by URL (#99)
  • Fix advanced cache settings updating unnecessarily (#99)


  • Update cache clearing for the clear URL admin bar button (#98)
  • Update scheme-based caching (#98)
  • Fix advanced cache path variants (#98)


  • Fix undefined constant


  • Update default cache behavior for WooCommerce stock update (#88)
  • Update cache clearing setting for plugin actions (#91)
  • Update admin bar clear cache buttons (#96)
  • Update cache behavior for logged in users (#95)
  • Update default clear cache publishing action (#88)
  • Update advanced cache settings (#91 and #92)
  • Update trailing slash handling (#91)
  • Update settings page (#84 and #92)
  • Add cache clearing setting for WooCommerce stock updates (#88)
  • Add fbclid as default URL query parameter to bypass cache (#84)
  • Add scheme-based caching (#94)
  • Fix advanced cache settings recognition for multisite networks (#92)


  • WP-CLI cache clearing (Thanks to Steve Grunwell)
  • Added cache_enabler_disk_webp_converted_data filter
  • Improved WebP URL conversion
  • Fixed advanced cache issue


  • Reverted change to page specific as new default


  • Replaced wp_die in advanced cache


  • Changed to page specific as new default
  • Added regex setting for analytics tags in get variables
  • Fixed 304 responses


  • Fix for missing trailing slashes was incomplete
  • Add filter option before minification


  • Clear cache on WooCommerce stock updates


  • Fix expiry time
  • Allow to customize bypass cookies
  • Fix Autoptimize config warning
  • Pages can now be excluded from cache by a path matching regex
  • Plugin upgrades can now trigger cache clear
  • Scheduled posts and drafts are now properly handled
  • A missing trailing slash will now redirect like WordPress does by default


  • Risolti errori sul modulo delle impostazioni


  • Fix minori


  • Added advanced cache feature
  • Clear cache if reply to a comment in WP admin


  • Added the possibility to clear the cache of a specific URL
  • Supports now Windows filesystems
  • Added X-Cache-Handler to indicate if loaded through PHP
  • Support of WebP images generated by ewww
  • Dynamic upload directory for WebP images
  • Fixed multisite purge issue
  • Added requirements checks
  • Made plugin ready for translation


  • Option to disable pre-compression of cached pages if decoding fails


  • Added support for srcset in WP 4.4
  • Improved encoding (utf8)


  • Added cache behavior option for new posts
  • Improved metainformation of the signature
  • Optimized cache handling for nginx


  • Fixed query string related caching issue


  • Credits update


  • Changed WebP static file naming


  • Fixed WebP version switch issue


  • Added support for WebP and CDN Enabler plugin


  • Added WebP support and expiry directive


  • Release iniziale