Cache Enabler – WordPress Cache

Mô tả

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.

Chức năng

  • Efficient and fast disk cache engine
  • Automated and/or manual clearing of the cache
  • Manually clear the cache of specific pages
  • WP CLI cache clearing
  • Display of the actual cache size in your dashboard
  • Minification of HTML and inline JavaScript
  • WordPress multisite support
  • Custom Post Type support
  • Expiry Directive
  • Support of 304 Not Modified if the page has not modified since last cached
  • WebP Support (when combined with Optimus)
  • Supports responsive images via srcset since WP 4.4
  • Works perfectly with 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.

How does the caching work?

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 page caches
    wp cache-enabler clear

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

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


System Requirements

  • PHP >=5.6
  • WordPress >=4.6


  • 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.


Đóng góp

Ảnh màn hình

  • Display of the cache size in your dashboard
  • Cache Enabler settings page and "Clear Cache" link in the dashboard

Đánh giá

8 Tháng Một, 2020
Did see some very minor improvements on page loads, at least on benchmark tests. Eventually had to give up on it though because it kept scrambling wpForo. Graphics blown up to 10+ pages long, new posts not appearing for some people, etc. Not worth the aggravation for such minor results. Uninstalled.
19 Tháng Mười Một, 2019
I have noticed that the plugin is very effective and does its job very well. Incredible that being so small, perform the search so well and combined with Autoptimize: Excellent. Thank you so much
23 Tháng Tám, 2019
Being fanatical about performance, I've tried all of them over the years: WP Total Cache (too cumbersome), WP Super Cache (simple, but also cumbersome with a silly UI now), WP Fastest Cache, Comet Cache, and WP Rocket. Of those, I had settled for Comet Cache, which has the easiest settings. WP Rocket has some Github scripts that allow us to fully serve static files, but the UI of that is needlessly complex as they try to plug "Pro" features. Cache Enabler is absolutely fabulous. We are on Nginx, and it serves super fast static-speed pages. The minification feature works better than anything I've tried (Autoptomize, Clearfy, etc) because it leaves no space whatsoever and does it judiciously; those others "compression/minify" plugins will still leave hard-newlines, which is annoying. All of them. Cache Enabler just works. The UI is minimal, but the magic is maximal. Clearly coded by people who know what they're doing. I've replaced all my plugins on around 25 websites with CE now. Love it. Forget all the "Best Caching Plugins" blog posts all over the web, and get this one. You'll be grateful.
2 Tháng Tám, 2019
I've played with various caching plugins extensively over the past 5 or 6 years and this one, let me tell you, is the BEST I've come across. Not only is it easy to install with practically zero configuration, it make VERY serious difference to your website without messing up WooCommerce or other plugins that normally conflict with caches. I have this on several sites that are Digital Ocean hosted and accessed via Cloudflare and this plugin is the missing piece of my "go to" setup from now on. Well done developers.. and thank you!
Đọc tất cả 84 đánh giá

Người đóng góp & Lập trình viên

“Cache Enabler – WordPress Cache” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

“Cache Enabler – WordPress Cache” đã được dịch qua 5 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.

Dịch “Cache Enabler – WordPress Cache” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi


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


  • 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


  • Fixed settings form issue


  • Minor fixes


  • 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


  • Initial Release