Cache Enabler – WordPress Cache的作者是KeyCDN，目前有80,000+个有效安装。已经Tested with 5.3.3版本的wordpress。
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
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
WordPress multisite support
Custom Post Type support
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
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=http://example.com/about-us
WordPress Cache Enabler – Documentation
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.
Inspired by Cachify.