{
    "title": "Cache Enabler",
    "seo_title": "Cache Enabler: review, recommended settings and limits",
    "h1": "Cache Enabler",
    "description": "Cache Enabler: KeyCDN’s lightweight page cache, strengths, limits (no preloading), safe settings (expiry, cookies, WebP) and a patched vulnerability.",
    "lead": "Cache Enabler, KeyCDN’s free caching plugin, saves your pages as static HTML files with targeted clearing and Gzip, Brotli, WebP and mobile versions. Our take, what it doesn’t do, the safe settings to apply and the vulnerability fixed in 1.8.17.",
    "language": "en",
    "locale": "en-US",
    "type": "plugin-sheet",
    "url": "https://www.wp-feint.com/features/camouflaged-plugins/cache-enabler/",
    "canonical": "https://www.wp-feint.com/features/camouflaged-plugins/cache-enabler/",
    "markdown": "https://www.wp-feint.com/features/camouflaged-plugins/cache-enabler/index.md",
    "json": "https://www.wp-feint.com/features/camouflaged-plugins/cache-enabler/index.json",
    "published": "2026-11-04T08:00:00+00:00",
    "modified": "2026-11-22T12:22:29+00:00",
    "site": {
        "name": "WP Feint",
        "url": "https://www.wp-feint.com/"
    },
    "translations": [
        {
            "language": "en",
            "hreflang": "en-US",
            "title": "Cache Enabler",
            "url": "https://www.wp-feint.com/features/camouflaged-plugins/cache-enabler/",
            "markdown": "https://www.wp-feint.com/features/camouflaged-plugins/cache-enabler/index.md",
            "json": "https://www.wp-feint.com/features/camouflaged-plugins/cache-enabler/index.json"
        },
        {
            "language": "fr",
            "hreflang": "fr-FR",
            "title": "Cache Enabler",
            "url": "https://www.wp-feint.com/fr/fonctionnalites/extensions-camouflees/cache-enabler/",
            "markdown": "https://www.wp-feint.com/fr/fonctionnalites/extensions-camouflees/cache-enabler/index.md",
            "json": "https://www.wp-feint.com/fr/fonctionnalites/extensions-camouflees/cache-enabler/index.json"
        },
        {
            "language": "es",
            "hreflang": "es-ES",
            "title": "Cache Enabler",
            "url": "https://www.wp-feint.com/es/funcionalidades/plugins-camuflados/cache-enabler/",
            "markdown": "https://www.wp-feint.com/es/funcionalidades/plugins-camuflados/cache-enabler/index.md",
            "json": "https://www.wp-feint.com/es/funcionalidades/plugins-camuflados/cache-enabler/index.json"
        },
        {
            "language": "de",
            "hreflang": "de-DE",
            "title": "Cache Enabler",
            "url": "https://www.wp-feint.com/de/funktionen/getarnte-plugins/cache-enabler/",
            "markdown": "https://www.wp-feint.com/de/funktionen/getarnte-plugins/cache-enabler/index.md",
            "json": "https://www.wp-feint.com/de/funktionen/getarnte-plugins/cache-enabler/index.json"
        },
        {
            "language": "it",
            "hreflang": "it-IT",
            "title": "Cache Enabler",
            "url": "https://www.wp-feint.com/it/funzionalita/plugin-camuffati/cache-enabler/",
            "markdown": "https://www.wp-feint.com/it/funzionalita/plugin-camuffati/cache-enabler/index.md",
            "json": "https://www.wp-feint.com/it/funzionalita/plugin-camuffati/cache-enabler/index.json"
        },
        {
            "language": "pt",
            "hreflang": "pt-BR",
            "title": "Cache Enabler",
            "url": "https://www.wp-feint.com/pt/recursos/plugins-wordpress-camuflados/cache-enabler/",
            "markdown": "https://www.wp-feint.com/pt/recursos/plugins-wordpress-camuflados/cache-enabler/index.md",
            "json": "https://www.wp-feint.com/pt/recursos/plugins-wordpress-camuflados/cache-enabler/index.json"
        },
        {
            "language": "nl",
            "hreflang": "nl-NL",
            "title": "Cache Enabler",
            "url": "https://www.wp-feint.com/nl/functies/gecamoufleerde-plugins/cache-enabler/",
            "markdown": "https://www.wp-feint.com/nl/functies/gecamoufleerde-plugins/cache-enabler/index.md",
            "json": "https://www.wp-feint.com/nl/functies/gecamoufleerde-plugins/cache-enabler/index.json"
        }
    ],
    "headings": [
        {
            "level": 1,
            "text": "Cache Enabler"
        },
        {
            "level": 2,
            "text": "What Cache Enabler does on your site"
        },
        {
            "level": 2,
            "text": "Which sites Cache Enabler suits"
        },
        {
            "level": 2,
            "text": "Cache Enabler strengths and limitations"
        },
        {
            "level": 3,
            "text": "Strengths"
        },
        {
            "level": 3,
            "text": "Limitations"
        },
        {
            "level": 2,
            "text": "The Cache Enabler settings we recommend"
        },
        {
            "level": 2,
            "text": "The Cache Enabler vulnerability fixed in 1.8.17"
        },
        {
            "level": 2,
            "text": "Cache Enabler FAQ",
            "id": "faq"
        }
    ],
    "body": "## The essentials\n\n- Best for blogs and brochure sites on Apache or Nginx: a lightweight page cache that works on activation.\n- Main caveat: no cache preloading and no CSS, JavaScript or image optimization.\n- Free and open source, with no paid version and no account to create.\n\n## What Cache Enabler does on your site\n\nCache Enabler is published by KeyCDN, a Swiss [CDN](https://www.wp-feint.com/glossary/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.\n\nCache 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.\n\nThe 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.\n\n![Diagram: Cache Enabler works on visitors and bots, web server, wordpress. Public traces: text in the cache file (still visible).](https://www.wp-feint.com/media/wpm-sheets/cache-enabler/diagram-en.svg?v=4af9db4c)\n\n## Which sites Cache Enabler suits\n\n- **Blogs and brochure sites on Apache or Nginx** whose visitors are almost never logged in: nearly every page can be served from the cache.\n- **Owners who want a single settings page**: caching works as soon as the plugin is activated, with no required configuration.\n- **Sites that already optimize CSS and JavaScript with another plugin**, such as [Autoptimize](https://www.wp-feint.com/features/camouflaged-plugins/autoptimize/), which the developer lists as compatible.\n- **Developers and agencies** who drive the cache from [WP-CLI](https://www.wp-feint.com/glossary/wp-cli/) (`wp cache-enabler clear`) or through its many documented hooks.\n\nIt is the wrong pick on a LiteSpeed server, where [LiteSpeed Cache](https://www.wp-feint.com/features/camouflaged-plugins/litespeed-cache/) drives the server’s own cache, and on a host that already provides page caching (check our [host and cache compatibility](https://www.wp-feint.com/features/hosting-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.\n\n## Cache Enabler strengths and limitations\n\n### Strengths\n\n- **Simple and ready to go.** One settings page in two sections, and caching is on from the moment you activate it.\n- **Targeted clearing.** Publishing a post clears that page and its related archives, not the whole cache.\n- **Pre-compression and WebP.** Gzip, Brotli and WebP versions are prepared ahead of time instead of being computed on every visit.\n- **Free with no paid tier.** Every feature is available, with no account and no third-party service.\n- **Optional server configuration.** The documentation provides Apache and Nginx rules that serve pages without running PHP.\n\n### Limitations\n\n- **No preloading.** After a clear, each page is rebuilt only when someone first visits it.\n- **Minimal optimization.** Only HTML gets minified: CSS, JavaScript and images need another plugin.\n- **Exclusions written as regular expressions.** A custom cookie or query string list replaces the default one instead of adding to it.\n- **No network settings on multisite.** Each site is configured separately.\n\n## The Cache Enabler settings we recommend\n\nEverything lives under Settings > Cache Enabler. Use the “Save Changes and Clear Site Cache” button after each change, then test in a private window.\n\n| Setting | Recommended value | Why |\n| --- | --- | --- |\n| **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. |\n| **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. |\n| **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. |\n| **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. |\n| **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. |\n| **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. |\n| **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. |\n| **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. |\n\nThe server rules in the documentation (a `# BEGIN Cache Enabler` block for the [.htaccess](https://www.wp-feint.com/glossary/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.\n\n- Make sure your permalinks are not set to “Plain” (Settings > Permalinks).\n- Logged out, load a page twice: the source should end with the `<!-- Cache Enabler by KeyCDN @ ... -->` comment and the response should carry the `X-Cache-Handler: cache-enabler-engine` header.\n- Check that no other page caching plugin is active: only one can use `advanced-cache.php`.\n- On a store, add a product to the cart and reload a page: the cart must stay up to date.\n- Turn on automatic updates for the plugin under Plugins.\n\n## The Cache Enabler vulnerability fixed in 1.8.17\n\nWPScan lists only one vulnerability, but it is a serious one:\n\n- **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`.\n\nRun 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](https://www.wp-feint.com/html-comments-generator-tag-wordpress/)); that comment stays visible even with WP Feint Pro, which is no substitute for updating anyway.\n\n## Cache Enabler FAQ\n\n**How do I clear the cache of a single page?**\n\nView 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.\n\n**Does Cache Enabler convert my images to WebP?**\n\nNo. 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.\n\n**Are pages with URL parameters cached?**\n\nNo, 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.\n\n**What happens when I deactivate the plugin?**\n\nIt 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.\n\n## Key facts\n\n- Category: Cache and performance\n- Vendor: KeyCDN\n- Price: Free and open source (GPL), with no paid version\n- Active installations (wordpress.org): 100 000+\n- Version: 1.8.17\n- Official page: https://wordpress.org/plugins/cache-enabler/\n\n## What WP Feint hides\n\n- Handled by WP Feint Pro only\n- Still visible: text in the cache file",
    "catalog": "cache-enabler",
    "essentials": [
        "Best for blogs and brochure sites on Apache or Nginx: a lightweight page cache that works on activation.",
        "Main caveat: no cache preloading and no CSS, JavaScript or image optimization.",
        "Free and open source, with no paid version and no account to create."
    ],
    "format": "application/json"
}