Flash cache 4. 0

Flash Cache 4.0 is not just another update. It is a new Flash Cache. Every page of your WordPress site becomes a static file that Apache, nginx or LiteSpeed sends straight to your visitors: no PHP, no WordPress, no waiting. And from now on, that is true for every visit, even when the cache needs to check whether a page is still fresh.

Version 4.0 rebuilds the plugin around one single principle: performance comes first. Serving a cached page must cost nothing, and keeping the cache fresh must cost as little as possible. With 54 changes in its changelog, it is the biggest release in the history of Flash Cache, and it opens a new era for the plugin.

πŸ“ˆ Measured, not promised

We tested Flash Cache 4.0 on the same Apache server with and without cache (Apache 2.4, WordPress 7.1, PHP 7.4 with OPcache, home page, ApacheBench with 3,000 requests at 10 concurrent). These are the results:

Without cacheWith Flash Cache 4.0
Time to first byte102 ms0.85 ms (about 120Γ— faster)
Requests per second1823,555
Bytes sent per visit43.2 KB5.8 KB (7Γ— lighter)
Same server, same page: only the cache changes.

On that same server, Flash Cache 4.0 answered more requests per second than every other cache plugin we measured, including WP Fastest Cache, WP Super Cache and W3 Total Cache. You can see the full comparison yourself in the new About β†’ Performance screen of the plugin.

Flash cache 4. 0 performance results: 0. 85 ms time to first byte and 23,555 requests per second compared with other wordpress cache plugins
The new About β†’ Performance screen: same server, with and without Flash Cache, and against other cache plugins.

⚑ The change of era: truly static pages

Until now, a page cache had a dilemma: to know whether a cached page had expired, someone had to ask WordPress. In Flash Cache 4.0, the page knows its own age. The browser checks it, and only once the page’s minimum lifetime has passed does it ask for a refresh, in the background. Visits to a fresh page never start PHP or WordPress at all.

And if you prefer cached pages without any script, the new Refresh expired pages setting lets the preload alone keep them up to date.

🧹 Instant cache clearing, at any size

Emptying the cache used to mean waiting while thousands of files were deleted, and on big sites it could even time out. Now the files are set aside at once and removed in the background. One click, and it is done, whether your cache holds 40 pages or 400,000.

🎨 Your visitors never meet an empty cache

  • Always up to date, by itself: the new After design changes setting refreshes the cache when you save widgets, menus, Customizer settings, block theme templates or synced patterns. Switching themes always starts a fresh cache.
  • Smart for large sites: in Automatic mode, sites with up to 2,000 published posts get a clean cache, and larger ones get their pages replaced a few at a time, with no load spike.
  • One refresh per page at a time, however many visitors arrive when it expires. On PHP-FPM servers the visitor’s connection is released before the page is rebuilt.
  • Publishing stays instant: new posts, the home page and their categories and tags are rebuilt in the background right after you publish. Approved comments refresh their post, too.
  • Made for autoblogs: bulk publishing, such as a WPeMatico fetch, rebuilds each new post’s page and refreshes the home page and each archive only once per batch.
Flash cache 4. 0 cache updates screen: cache creation, refresh expired pages and the new after design changes setting
Cache updates: how pages are created, refreshed and replaced after design changes.

πŸ“Š You always know what is in your cache

The General Settings screen now shows live cache statistics: static pages, PHP pages, styles, scripts and fonts, with their size and count. They load instantly and follow every page cached or deleted, however large the cache.

Flash cache 4. 0 general settings screen with live cache statistics: static pages, php pages, styles, scripts and fonts
General Settings: switch the cache on and see what is stored, with live statistics.

🧩 Cache patterns, now in the order you choose

Patterns are the heart of Flash Cache: one set of rules for each kind of page, with its own lifetime. In 4.0 they became much more powerful:

  • Drag them into order: the first pattern that applies to a page decides how it is cached, and the Default pattern always comes last.
  • New “Don’t cache” type to keep any group of pages always live.
  • Clear page types: categories, tags, authors, other archives and the posts page each follow their own box, and the list shows what each pattern applies to and how it caches.
  • Smarter PHP mode for pages with query strings: visits with tracking parameters (utm_*, fbclid, gclid…) share the same cached copy, and each page keeps a bounded number of variants.
Flash cache 4. 0 patterns list showing what each cache pattern applies to and how it caches
Patterns: one set of rules for each kind of page, in the order you choose.

πŸͺΆ Lighter pages and a lighter server

  • Rebuilt style and script optimization: your site’s files are read straight from disk, and each combined file is shared by every page that uses the same assets, so it is written once.
  • Combined files that respect your site: print styles stay for print, the cascade order is kept, and async, deferred and module scripts stay as they are.
  • Light even when nothing is cached yet: settings are read once per request and patterns load from a single stored option instead of database queries.

πŸ–₯️ Ready for your web server

Flash Cache 4.0 works with Apache, LiteSpeed Enterprise, OpenLiteSpeed and nginx. On nginx and OpenLiteSpeed, the settings screen tells you whether the server is running the current rules and gives you the exact line or setting to add when it is not. nginx rules now also serve pages with accented or non-Latin addresses and sites installed in a subfolder.

πŸ”’ Safer by design

  • Form submissions always reach WordPress live: only GET and HEAD requests are cached.
  • Only successful responses are cached: error pages are always served live.
  • Settings, cache and preload actions are reserved to users with the right permissions, and the cache folder is validated on save.
  • “Redirect HTTP to HTTPS” now sends a Strict-Transport-Security header and works behind proxies and CDNs.
  • Clean and portable: no drop-in files and no changes to wp-config.php. Deactivating the plugin removes its rules and its cache.

🌍 Clearer screens, in 27 languages

Settings are now grouped by topic in General, Cache updates, Advanced options and Optimization, each with its own Save and Reset, short labels and plain-language descriptions. A brand-new About screen brings the performance results, server tips and links to the documentation and support. And Flash Cache now speaks 27 languages, including Spanish and its regional variants, German, French, Italian, Portuguese, Japanese, Chinese, Arabic and more.

🎬 See Flash Cache in action

πŸ’š Free and complete. Pro when you want more

Everything above is free. Flash Cache does not hold back its core to sell an upgrade. Flash Cache Pro supports its development and adds a few extras for professional sites:

  • Live widgets and blocks: rendered fresh on every visit while the rest of the page stays cached, optionally refreshed every few minutes.
  • Shared widget cache: widgets that look the same on every page are built once, and updating them never empties the cache.
  • Minified styles and scripts and Google Fonts on your own server.
  • Per-post tools: clear a single post’s cache from the posts list, and rebuild it automatically when you save.
Flash cache 4. 0 optimization screen with the flash cache pro addon: combine and minify styles and scripts
Optimization with Flash Cache Pro: combine styles and scripts, and leave anything that needs it in place.

βœ… Requirements and how to update

WordPress5.9 or newer, single sites (not Multisite)
PHP7.2 or newer
Web serverApache, LiteSpeed Enterprise, OpenLiteSpeed or nginx
PriceFree, GPLv2 or later

Update from Dashboard β†’ Updates, or install it from Plugins β†’ Add New searching for Flash Cache. After updating, the cache is rebuilt from scratch and the server rules are refreshed automatically. Need help with the setup? Follow our step-by-step guide: How to install and set up Flash Cache.

❓ Frequently asked questions

Is Flash Cache free?

Yes. Flash Cache is a complete page cache and it is free on WordPress.org: patterns, background refreshes, preload, cache statistics and style and script optimization are all included. Flash Cache Pro is optional and adds extras such as live widgets and blocks, minification and local Google Fonts.

What makes Flash Cache 4.0 different from earlier versions?

Cached pages are now truly static: the page knows its own age, so visits to a fresh page never start PHP or WordPress, not even to check whether it has expired. Emptying the cache is instant at any size, and the cache refreshes itself after design changes.

How fast is Flash Cache 4.0?

On our Apache test server the home page started arriving in 0.85 ms instead of 102 ms, the server answered 23,555 requests per second instead of 18, and each visit carried 5.8 KB instead of 43.2 KB.

Does Flash Cache work with nginx and LiteSpeed?

Yes. Flash Cache works with Apache, LiteSpeed Enterprise, OpenLiteSpeed and nginx. On nginx and OpenLiteSpeed the settings screen shows whether the server runs the current rules and what to add when it does not.

What are the requirements of Flash Cache 4.0?

PHP 7.2 or later and WordPress 5.9 or later, on single WordPress sites. It cannot be activated on a Multisite network.

What happens to my cache when I update to 4.0?

The cache is rebuilt from scratch, the server rules are refreshed automatically and the old database lock table is removed, since locks no longer need a table.


Flash Cache 4.0: truly static pages, a cache that refreshes itself, and a server that finally gets to rest. If it makes your site faster, a ⭐⭐⭐⭐⭐ review on WordPress.org helps a lot.

Leave a Reply