Flexa Cache
Page cache, Redis object cache, and front-end optimization: static HTML before WordPress boots plus a persistent object cache, zero configuration.
Escolha sólida
Flexa Cache is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 2 weeks ago, and scores 64/100 on our health check.
- Desenvolvido ativamente — última atualização 2 semanas atrás
- Testado com as últimas WordPress (7.1)
- Base de usuários pequenas (<10 instalações ativas)
- Muito poucos comentários até agora
- Precisa de PHP 8.2 ou mais recente
Como ele se acumula?
Lado a lado em instalações, atualizações, avaliações e suporteDownloads diários
Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.
Rankings
Where Flexa Cache stands todayWordPress.org Classificações de pesquisa
Posição ao vivo na pesquisa de plugins, top 100| Palavra chave | Posição |
|---|---|
| esconderijo | >100 |
| object cache | >100 |
| page cache | >100 |
| execução | >100 |
| redis | >100 |
About Flexa Cache
Do Readme oficial · v1.3.3Descrição
📌 Documentation: flexa-cache.flexacommerce.com has the full user guide, technical reference and benchmark.
Flexa Cache is a WordPress page cache and front-end optimization plugin, with an optional Redis object cache. The page cache is a file cache: it saves each page as a static HTML file (plus a gzip copy) and an advanced-cache.php drop-in serves that file before WordPress loads, so a cache hit runs no theme, plugin or database code. WP Fastest Cache and W3 Total Cache use the same technique. It works on Apache and nginx.
What the page cache stores, and what it skips
Only anonymous GET requests for normal front-end pages are cached. These are always served live and never stored:
- Logged-in users (always, whatever the settings say), and visitors with a comment-author or post-password cookie
- WooCommerce cart, checkout and account pages, and any visitor with items in the cart or a WooCommerce session
- URLs with a query string, and any request that is not
GET(form posts, for example) - wp-admin,
admin-ajax.php, the REST API (/wp-json/), WP-Cron, feeds, search results, previews, 404 pages and password-protected posts - Pages that define
DONOTCACHEPAGE - Anything on your own exclusion lists: URLs, cookies and user agents. A new install starts with
/cart,/checkoutand/my-accountin the URL list.
Cached files have no expiry time. They are replaced when one of the events below clears them.
When the cache is cleared
- Publishing, updating, trashing, unpublishing or deleting a post clears that post’s page, the home page, the post type archive, its category, tag and other term archives, its author archive and its date archives, including their paginated pages. When a slug changes, the old address is cleared too.
- Adding or removing a category or tag on a published post clears both the old and the new term archive.
- A new, edited or re-moderated comment clears its post.
- Saving a WooCommerce product or changing its stock clears the product page.
- Switching theme, saving the Customizer, editing a menu or moving widgets clears everything.
- Saving settings with a changed exclusion list, or turning the page cache or the master switch off and on, clears everything.
- Updating Flexa Cache clears everything once, so pages built by the old version are not kept.
- You can clear one URL or everything from the admin screen, WP-CLI or the REST API. If “Preload” is on, a full clear is followed by a crawl that rebuilds the cache.
Turning things off
Every feature has its own switch. “Enable page cache” only controls the page cache: with it off, the optimizations, widget cache and object cache you turned on keep running. To stop everything at once, turn off Enable Flexa Cache, the master switch at the top of General Settings. That removes the page cache drop-in, the .htaccess rules and the object cache drop-in, and nothing is cached or optimized. Your other settings stay saved, so turning the master switch back on restores them as they were.
Host and CDN caches
Flexa Cache only manages its own files. It does not purge Cloudflare, Varnish, LiteSpeed, Nginx FastCGI cache or a managed host’s server cache. It does detect them (along with other caching plugins) and shows a warning on the Cache screen and in Site Health. If another layer caches your HTML, either turn one of them off or clear that layer after you publish changes; otherwise it can keep serving pages Flexa Cache has already cleared.
Page Cache
- Static HTML cache served by a pre-WordPress drop-in (no PHP/MySQL on cache hits)
- Gzip pre-compressed
.gzfiles served natively - Separate mobile cache variant (
index-mobile.html) when Mobile Theme is enabled - Smart invalidation: purge on new post, updated post, comments, theme/menu/widget changes, and WooCommerce product/stock updates
- Per-URL cache purge from the admin UI, WP-CLI, or REST API
- Cache preloader via Action Scheduler (or WP-Cron fallback) with start/cancel/status controls
- Widget output cache with O(1) versioned-key invalidation
Front-End Optimization
- Minify HTML (whitespace collapse) and Minify HTML Plus (inline CSS/JS trim)
- Minify CSS and Minify CSS Plus (deeper punctuation squeeze)
- Combine CSS — adjacency-only buffer fusion preserving cascade order
- Combine JS / Combine JS Plus — concatenate header and footer scripts
- Gzip — mod_deflate
.htaccessblock for dynamic (non-cached) responses - Browser Caching — Expires/Cache-Control
.htaccessblock - Disable Emojis — remove WordPress emoji scripts, styles, and DNS prefetch
- Lazy Load — native
loading="lazy"+decoding="async"on images and iframes - Render Blocking JS — add
deferto render-blocking scripts - Google Fonts Async — rewrite Google Fonts
<link>to preload +onloadswap with<noscript>fallback - Delay JS — neutralise non-critical external scripts until first user interaction or 7-second idle fallback
Developer-Friendly
- WP-CLI:
wp flexa-cache clear [--url=<url>],wp flexa-cache status,wp flexa-cache preload [start|status|cancel] - REST API:
/flexa-cache/v1/cache/purge,/cache/stats,/cache/preload - Filterable hooks:
flexa_cache/engine/is_cacheable,flexa_cache/engine/allowed_hosts,flexa_cache/engine/buffer,flexa_cache/store/dir,flexa_cache/purged,flexa_cache/settings/languages, and more - Kill switch:
?flexa_cache_optimize=0disables optimization for a single admin request - Exclusion lists for URLs, cookies, user agents, CSS handles, and JS handles
Object Cache (Redis)
- Persistent Redis object cache: caches WordPress options, transients, and post/term/user meta and query results across requests, cutting database load
- Installs a self-contained
object-cache.phpdrop-in with an in-memory L1 + Redis L2 layout - One-click enable/disable and a “Test & save connection” form that writes the config to
wp-config.php(secrets never touch the database) - Crash-safe by design: if Redis becomes unreachable the site keeps running (degrades to in-memory) with an admin notice and a circuit breaker — never a white screen
- Serializers (PHP, igbinary, JSON, msgpack) and compression (LZ4, Zstd, LZF), key prefetch, and alloptions splitting
- Live analytics: hit-ratio / operations / memory charts, a per-group key table, Query Monitor panel, and WP-CLI (
analytics,watch,groups,slowlog) - Multisite aware, with per-site and network flush scopes
- Advanced Redis topologies — Cluster, Sentinel, Replicated (master/replica), and the Relay/Predis clients — are available through the separate Flexa Cache Pro add-on
Serviços externos
Caching and optimization run entirely on your own server. The plugin connects to one external service, and only in the admin, for the reason below.
Deactivation feedback (Flexa Product Intelligence)
When you go to deactivate Flexa Cache on the Plugins screen, a short optional survey asks why. It is served by Flexa’s product intelligence service at https://product-intelligence.flexacommerce.com. It runs only on wp-admin/plugins.php, never on the front end, and never blocks or delays deactivation.
- What is sent, and when: on opening the Plugins screen, a request to
/api/v1/config(the product slug and tier) loads the survey configuration, cached for 6 hours. When you deactivate or interact with the survey, the reason you pick and any optional message you type are sent to/api/v1/deactivations,/api/v1/events,/api/v1/feedback,/api/v1/feature-requests, and/api/v1/recovery-events. If you later reactivate the plugin, a single/api/v1/recovery-eventsrequest records the reactivation and how long the plugin was inactive. - What is included: an anonymous per-site identifier (a random UUID), the plugin version and tier, and by default your WordPress/PHP version and locale. No email, site domain, user identity, or raw IP is collected.
- Opt out: turn the environment data off with
add_filter( 'flexa_cache/deactivation_survey/config', fn( $c ) => array( 'collect_environment' => false ) + $c );, or disable the whole survey withadd_filter( 'flexa_cache/deactivation_survey/enabled', '__return_false' );.
Service terms and privacy policy: https://flexacommerce.com/pages/terms and https://flexacommerce.com/pages/privacy
Instalação
- Upload the plugin files to
/wp-content/plugins/flexa-cache, or install through the WordPress Plugins screen. - Activate the plugin through the Plugins screen.
- Open Flexa Cache from the admin sidebar (located below Settings).
- Make sure Enable Flexa Cache and Enable page cache are on, then click Save Settings.
After an update you do not need to do anything. The advanced-cache.php and object-cache.php drop-ins are refreshed on the next admin page load when they no longer match the bundled copy, and the page cache is cleared once.
Log de Changes
Clears the page cache when you change the site title, permalinks or front page, and adds a "Clear cache" link to each row in the Posts and Pages lists.
1.3.3
- New: a “Clear cache” link on each published row in the Posts, Pages and Products lists (and other public post types). It clears the cached copy of that one page, so you do not have to open it or empty the whole cache. The link shows only while the page cache is on.
- Fix: changing the site title, tagline, permalink structure, category or tag base, front page, posts page, posts per page, date or time format, or site icon now clears the page cache. Before, visitors kept seeing the old title, old links or the old front page until the cache was cleared by hand.
1.3.2
- New: Flexa Cache now tells you when another page cache is running on your site. It checks for other caching plugins, an
advanced-cache.phpdrop-in owned by another plugin, managed hosts with their own server cache (WP Engine, Kinsta, SiteGround, Pantheon and others), and CDNs or proxies that cache your pages (Cloudflare, Varnish, LiteSpeed, Nginx, CloudFront, Bunny, Fastly, Sucuri). Warnings appear on the Cache settings screen and in Site Health. It only reports what it finds; nothing in the other cache is changed. - Developers: new REST route
flexa-cache/v1/cache/layersand filtersflexa_cache/layers/findingsandflexa_cache/layers/plugins. - New: turn on object cache analytics from the Object Cache tab and choose how many requests are sampled. You no longer need to edit
wp-config.phpby hand. - Fix: turning the object cache back on no longer makes plugins look deactivated. Redis could still hold old settings from the last time it was used, including the list of active plugins. The old data is now cleared when the object cache is switched on. If your site is already affected, updating fixes it: the cached data is cleared once on the first page load after the update.
- Fix: a post moved to the trash could stay cached and keep showing to visitors. Its cached page is now cleared when it is trashed, unpublished or deleted, and the old address is also cleared when you change a post’s slug.
- Fix: with “Exclude mobile” on, phones and tablets could still get a cached page that a desktop visitor had created. Mobile visitors now always get a fresh page.
- Fix: visitors matching “Excluded user agents” could still get a cached page that another visitor had created. They now always get a fresh page.
- Change: the page cache is now cleared automatically after Flexa Cache is updated, so pages cached by the old version do not keep showing.
- Fix: with “Minify HTML” on, text in neighbouring elements could run together, for example a sale price showing as “$48$43” or menu items with no gap. The space between them is now kept.
- Fix: with “Render-blocking JS” or “Delay JS” on, WooCommerce product pages could show “wp is not defined” errors because a WordPress core script ran before the script it needs. Scripts that others depend on now load in the right order.
- Fix: lazy load no longer delays the logo and the main product image that WordPress marks as high priority.
- Fix: lazy load no longer changes image markup inside inline scripts, which could break those scripts.
- Fix: after you add a page to the exclusions, its old cached copy kept showing. Saving a change to any exclusion list now clears the page cache, so the change takes effect straight away.
- Fix: on sites with WooCommerce or another plugin that ships Action Scheduler, the preloader stopped after the first few pages and the progress bar stayed at the same count. It now finishes the run, and a run that is already stuck continues on its own after updating once you open the Flexa Cache screen.
- Fix: a page opened by someone who had left a comment could be cached with their name and email filled in the comment form, and then shown to other visitors. Those visitors’ pages are no longer stored.
- Fix: with widget cache on, search forms and dropdown widgets lost their search box and select list. They now keep working, and the categories dropdown is left uncached so choosing a category still opens it.
- Fix: widget cache showed the same menu or category highlight on every page. Widgets are now cached per page, and filtered shop pages are not cached.
- Fix: “Separate mobile cache” now takes effect as soon as you save it.
- Fix: turning caching off and back on no longer shows pages cached before it was switched off.
- Fix: turning on “Preload” now starts warming the cache straight away, and the cache is no longer crawled while caching is off.
- Tweak: the Language option is hidden while English is the only choice.
- Fix: re-saving the Redis connection with the password field left blank removed the saved password from
wp-config.php. It is now kept, as the “unchanged” hint says. - Tweak: the longest object cache chart view now covers the last 2 hours (was 5 hours), matching how long the history is kept.
- Fix: the page cache could store copies of your site for any made-up domain name a request claimed to be for, which a bot could use to fill the disk. Only your site’s own domain is cached now. Developers can allow more domains with the
flexa_cache/engine/allowed_hostsfilter. - Fix: after a post was published, edited or removed, its category, tag, author and date archives (and their page 2, 3 and so on) kept showing the old list. They are now cleared too, including when you only add or remove a category or tag.
- Fix: a page could still be cached when something during rendering made it uncacheable, such as a product added to the cart. Every check now runs again before the page is stored.
- Fix: with “Browser caching” on, CSS and JavaScript files were told to expire after one month in one header and one year in another. Both now say one year. The rules are refreshed when you update the plugin.
- Fix: a guest could see another guest’s WooCommerce “Recently Viewed Products” list, in the widget cache and in cached pages. Visitors with that list now get a fresh page, and the Recently Viewed and Cart widgets are never cached. The Cart widget also fills in correctly again with widget cache on.
- Fix: with “Separate mobile cache” or “Exclude mobile” on, pages now send a
Vary: User-Agentheader so a proxy or CDN in front of your site keeps phone and desktop copies apart. - Fix: Kindle, Silk, BlackBerry and Opera Mobi devices are now recognised as mobile by the page cache in the same way as by WordPress, so “Exclude mobile” and “Separate mobile cache” apply to them.
- Fix: with “Separate mobile cache” on, widgets are cached separately for phones and desktops.
- New: an “Enable Flexa Cache” master switch at the top of General Settings. Turning it off stops everything the plugin does (page cache, optimizations, widget cache, browser caching and Gzip rules, Redis object cache) without losing your settings. Turn it back on and everything returns as it was.
- Tweak: the old “Enable caching” toggle is now called “Enable page cache”, since it only controls the page cache.
- Tweak: the Exclusions tab shows “Exclude logged-in users” again, locked on, with a short explanation. Logged-in users have always bypassed the cache since 1.3.1; the toggle is there so you can see it.
1.3.1
- Fix: clearing the cache for one post no longer empties the whole page cache. Every post purge also clears the home page, and clearing a URL used to delete everything stored beneath it, so a single edit wiped every cached page on the site. Now only the files for that exact URL are removed.
- Fix: pages rendered for a logged-in user are never stored. With “Exclude logged-in users” turned off, a logged-in visit could be cached (admin bar, account name and all) and then served to anonymous visitors. Logged-in users now always bypass the cache, so that toggle has been removed from the Settings screen.
- Fix: the “Excluded cookies” list now works. It was saved but never checked. Any visitor with a cookie whose name contains one of the listed values now skips the cache, both when pages are written and when the drop-in serves them.
- Fix: after a plugin update, the
advanced-cache.phpandobject-cache.phpdrop-ins are refreshed automatically on the next admin page load if they no longer match the bundled copy. Drop-ins that belong to another plugin are never touched. - Fix: Site Health no longer reports the object-cache drop-in as out of date on every site. It was compared with the plugin version instead of the drop-in’s own version.
- Fix:
wp flexa-cache oc enable --forcenow actually replaces anobject-cache.phpfrom another plugin, as documented. Without--forcea foreign drop-in is still left alone. - Fix: deactivating the plugin now flushes and removes the object-cache drop-in, which previously kept running with the plugin switched off. Your Redis connection settings in
wp-config.phpare kept, and reactivating reinstalls the drop-in when the object cache is enabled.
1.3.0
- New: an optional deactivation feedback survey. If you deactivate Flexa Cache from the Plugins screen, a short survey asks why, so we can fix what is not working. It is anonymous (a random per-site id, no email or domain), runs only in the admin, and never blocks or delays deactivation. If you reactivate later, that win-back is recorded too (anonymously). Disable it all with
add_filter( 'flexa_cache/deactivation_survey/enabled', '__return_false' );. See External services for exactly what is sent.
1.2.0
- New: a fresh install now turns on the safe basics automatically, so the plugin caches and optimizes from the moment you activate it. Activation enables the page cache (and installs the drop-in), gzip and browser caching (.htaccess), HTML and CSS minify, lazy loading, emoji removal, async Google Fonts, and cache purge on new/updated posts. Logged-in users bypass the cache by default. The JS/CSS combine options and the aggressive Delay JS / Render-Blocking JS optimizers stay off until you opt in, so a new install never risks a broken front end unattended. Every toggle remains editable on the Settings screen.
- New: a one-time setup wizard opens the first time you visit the plugin screen on a fresh install. Three quick steps: pick a preset (Safe, Balanced, or Manual), optionally head to Redis object-cache setup, and optionally run preload. A “Skip setup” link keeps the safe defaults and closes it. Once finished, the wizard never shows again.
- Note: this applies to new installs only. Updating an existing site keeps your current settings exactly as they are, and the wizard does not appear.
1.1.3
- Fix: WooCommerce cart, checkout, and account pages are no longer altered by the JS optimizers. Delay JS and Render-Blocking JS apply to every front-end response, not just cached ones, and their shared safety gate did not skip these per-user pages; deferring or delaying their scripts could leave the cart partially rendered (most visibly the block-based cart, which needs JS to hydrate). The gate now excludes
is_cart(),is_checkout(), andis_account_page(), matching the page cache, which already skipped them. The checks are guarded so they stay inert when WooCommerce is not active. - Change: a fresh install now seeds the Excluded URLs list with
/cart,/checkout, and/my-account, so those pages are never cached or optimized out of the box. The list remains fully editable.
Capturas de tela
Para desenvolvedores
Este é o seu plugin? Mostre os números.
Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.
Best Flexa Cache alternatives
Todos os plugins de cache →FAQ
Flexa Cache: quick answers
Respostas diretas, extraídas de dados ao vivo WordPress.org.
Fonte: WordPress.org
Is Flexa Cache free?
Yes. Flexa Cache is free to download and use from the official WordPress.org plugin directory.
Is Flexa Cache safe to use in 2026?
Flexa Cache is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 2 weeks ago, and scores 64/100 on our health check.
How many websites use Flexa Cache?
Flexa Cache is active on <10 WordPress websites and has been downloaded 795 times since it launched in July 2026. It was downloaded 157 times in the last 30 days.
Does Flexa Cache work with WordPress 7.1?
Yes. The developer has tested Flexa Cache up to WordPress 7.1.5, the latest release. It requires WordPress 5.9 or newer.
What PHP version does Flexa Cache need?
Flexa Cache requires PHP 8.2 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Flexa Cache last updated?
The latest version, 1.3.3, was released on November 18, 2026 (2 weeks ago).
Who makes Flexa Cache?
Flexa Cache is developed and maintained by FlexaTech.
What are the best alternatives to Flexa Cache?
The most popular alternatives to Flexa Cache are WP Super Cache (1M+ installs), WP Fastest Cache (1M+ installs) and WP-Optimize (1M+ installs).
Alimentado por PageForge
Um modelo e uma planilha. Uma página real para cada pesquisa.
PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.
- CSV e XLSX, mais Google Sheets em Profissional e Empresarial
- Seu próprio título, URL, SEO campos e esquema para cada página
- Funciona com o editor de blocos, Elementor, Divi e Avada
- Gratuito em WordPress.org, sem cartão de crédito
