What Cache Enabler does on your site
Cache Enabler is published by KeyCDN, a Swiss CDN provider. It is a deliberately lightweight page caching plugin: the first time a logged-out visitor loads a page, it saves the HTML WordPress produced as a static file in wp-content/cache/cache-enabler, then serves that file to the next visitors without touching the database. To switch itself on, it installs the advanced-cache.php drop-in in wp-content and adds the WP_CACHE constant to wp-config.php; it removes them when you deactivate it.
Cache clearing is automatic and targeted: when you publish, update or trash a post, the plugin clears that page, its pagination and the related archives (post type, terms, author, date). Around that cache it offers a mobile version, a version pre-compressed with Gzip (or Brotli if PHP has the Brotli extension and the site runs on HTTPS), a version that swaps images for their WebP equivalent when that file exists, HTML minification and 304 Not Modified responses. That is the whole list: no preloading, no CSS or JavaScript optimization, no image compression.
The plugin is free, GPL-licensed and has no paid version. KeyCDN sells its CDN and its Optimus image converter, both mentioned on the settings page, but neither is needed for caching.
Which sites Cache Enabler suits
- Blogs and brochure sites on Apache or Nginx whose visitors are almost never logged in: nearly every page can be served from the cache.
- Owners who want a single settings page: caching works as soon as the plugin is activated, with no required configuration.
- Sites that already optimize CSS and JavaScript with another plugin, such as Autoptimize, which the developer lists as compatible.
- Developers and agencies who drive the cache from WP-CLI (
wp cache-enabler clear) or through its many documented hooks.
It is the wrong pick on a LiteSpeed server, where LiteSpeed Cache drives the server’s own cache, and on a host that already provides page caching (check our host and cache compatibility page). It also won’t work for a site still on “Plain” permalinks, which the plugin does not support, or for anyone after a full optimization suite with cache preloading.
Cache Enabler strengths and limitations
Strengths
- Simple and ready to go. One settings page in two sections, and caching is on from the moment you activate it.
- Targeted clearing. Publishing a post clears that page and its related archives, not the whole cache.
- Pre-compression and WebP. Gzip, Brotli and WebP versions are prepared ahead of time instead of being computed on every visit.
- Free with no paid tier. Every feature is available, with no account and no third-party service.
- Optional server configuration. The documentation provides Apache and Nginx rules that serve pages without running PHP.
Limitations
- No preloading. After a clear, each page is rebuilt only when someone first visits it.
- Minimal optimization. Only HTML gets minified: CSS, JavaScript and images need another plugin.
- Exclusions written as regular expressions. A custom cookie or query string list replaces the default one instead of adding to it.
- No network settings on multisite. Each site is configured separately.
The Cache Enabler settings we recommend
Everything lives under Settings > Cache Enabler. Use the “Save Changes and Clear Site Cache” button after each change, then test in a private window.
| Setting | Recommended value | Why |
|---|---|---|
| Cached pages expire ... hours after being created Settings > Cache Enabler > Cache Behavior > Expiration | Checked, for example 24 hours | Unchecked by default: pages stay cached until the next clear, even if a plugin changes their content without a new post. |
| Clear the site cache if a plugin has been activated or deactivated Cache Behavior > Clearing | Checked | Adding or removing a plugin can change the HTML of every page. |
| Clear the site cache if any post type has been published... (and the matching options for comments, terms and users) Cache Behavior > Clearing | Unchecked (default) | Targeted clearing covers most cases and avoids rebuilding the whole site with no preloading. |
| Create a cached version for mobile devices Cache Behavior > Versions | Checked only if your theme serves different HTML on mobile | Pointless with a responsive theme: it doubles the number of files. |
| Create a cached version pre-compressed with Brotli or Gzip (or “with Gzip” without Brotli) Cache Behavior > Versions | Checked | The server no longer has to compress the page on every visit. |
| Create a cached version for WebP support Cache Behavior > Versions | Checked only if .webp files sit next to your images | The plugin converts nothing: without WebP files, the option does nothing. |
| Minify HTML in cached pages Cache Behavior > Minification | Checked, with “excluding” inline CSS and JavaScript | The “including” choice touches inline scripts: test forms, menus and analytics before trying it. |
| Cookies Cache Exclusions > Cookies | On a store, add woocommerce_items_in_cart and wp_woocommerce_session | Your expression replaces the default one: keep wp-postpass, wordpress_logged_in and comment_author in it. |
The server rules in the documentation (a # BEGIN Cache Enabler block for the .htaccess file, or an Nginx snippet) serve pages without PHP, but KeyCDN reserves them for people comfortable editing server configuration and notes that they ignore some exclusion settings: the default setup is enough for most sites.
- Make sure your permalinks are not set to “Plain” (Settings > Permalinks).
- Logged out, load a page twice: the source should end with the
<!-- Cache Enabler by KeyCDN @ ... -->comment and the response should carry theX-Cache-Handler: cache-enabler-engineheader. - Check that no other page caching plugin is active: only one can use
advanced-cache.php. - On a store, add a product to the cart and reload a page: the cart must stay up to date.
- Turn on automatic updates for the plugin under Plugins.
The Cache Enabler vulnerability fixed in 1.8.17
WPScan lists only one vulnerability, but it is a serious one:
- CVE-2026-19253, fixed in 1.8.17: the function that clears the cache for a URL did not validate that URL and did not confine the deletion to the cache folder. On a site where another plugin or the theme passes Cache Enabler a URL taken from the visitor’s request, someone without an account could delete files and folders on the site, up to and including
wp-config.php.
Run at least 1.8.17 and turn on automatic updates, all the more since the flaw depends on other plugins you don’t control. Cache Enabler loads no files on your public pages, but it signs every cached page with a “Cache Enabler by KeyCDN” HTML comment (see the HTML comments that give WordPress away); that comment stays visible even with WP Feint Pro, which is no substitute for updating anyway.
What WP Feint hides for Cache Enabler
Pro Handled by WP Feint Pro only
The free version does not know the traces specific to Cache Enabler: without Pro, only generator tags are removed, as for any plugin.
Free version
Handled by WP Feint Pro only
With Pro
Nothing more
Still visible
- text in the cache file
Cache Enabler by KeyCDN
These traces stay because the plugin needs them to work (scripts, styles, cookies) or because they come from the server.
Cache Enabler FAQ
How do I clear the cache of a single page?
View the page while logged in and click “Clear Page Cache” in the admin bar. “Clear Site Cache”, in the same place, clears everything; from the command line, wp cache-enabler clear --urls= followed by the URL does the same page by page.
Does Cache Enabler convert my images to WebP?
No. It replaces an image URL in the page with its WebP version when that file already exists (image.webp or image.jpg.webp). The conversion has to be done by another plugin, such as KeyCDN’s Optimus.
Are pages with URL parameters cached?
No, except for common tracking parameters (utm_*, gclid, fbclid...), which are ignored by default, so the page is still served from the cache. Any other query string bypasses the cache.
What happens when I deactivate the plugin?
It deletes its advanced-cache.php file, removes the WP_CACHE constant if it added it, clears the cache and stops its scheduled tasks. Uninstalling then deletes its single database option.