
Flexa Cache is a full-featured WordPress page-cache and front-end optimization plugin. It installs a self-contained advanced-cache.php drop-in that serves compressed static HTML files before WordPress even loads — the same technique used by WP Fastest Cache and W3 Total Cache — giving you maximum TTFB improvement on both Apache and nginx hosts.
Page Cache
.gz files served nativelyindex-mobile.html) when Mobile Theme is enabledFront-End Optimization
.htaccess block for dynamic (non-cached) responses.htaccess blockloading="lazy" + decoding="async" on images and iframesdefer to render-blocking scripts<link> to preload + onload swap with <noscript> fallbackDeveloper-Friendly
wp flexa-cache clear [--url=<url>], wp flexa-cache status, wp flexa-cache preload [start|status|cancel]/flexa-cache/v1/cache/purge, /cache/stats, /cache/preloadflexa_cache/engine/is_cacheable, flexa_cache/engine/buffer, flexa_cache/store/dir, flexa_cache/purged, flexa_cache/settings/languages, and more?flexa_cache_optimize=0 disables optimization for a single admin requestSource code for compiled JavaScript and CSS
The plugin ships a compiled admin UI in assets/dist/. The human-readable
source (apps/admin/src) and the build tooling are publicly available at:
https://github.com/flexatech/flexa-cache
The admin UI is built with npm and Vite:
npm installnpm run build (or npm run dev for a watched dev build with HMR)