ezCache changelog

By uPress, on WordPress.org since 2019. 10,000+ active installs.

Browse code

53 tagged releases, newest first. Dates are when each release was tagged in SVN. Notes come from the plugin's readme, which may not list every release.

  1. 2.7.2
    • Fixed: Pages are cached again on sites where a plugin adds a Vary header to every page. Since 2.7.0 a page was stored only when its Vary header named nothing but Accept-Encoding. Jetpack sends “Vary: accept, content-type” on front-end pages, so on those sites no page was stored at all and every view was rendered by PHP. Now only Vary: Cookie, Vary: Authorization and Vary: * keep a page out of the cache (filter ezcache_private_vary_fields); “Strict privacy” on the Settings page keeps the stricter rule. Nothing has to be done after updating: the cache fills again as pages are visited.
    Source Diff vs 2.7.1
  2. 2.7.1
    • Fixed: Updating no longer breaks admin and AJAX requests for up to a minute on servers where PHP keeps compiled files in memory (opcache.revalidate_freq). Right after the files are replaced, PHP can run old and new plugin files together; the upgrade routine then called code that did not exist yet (“Call to undefined method”). The plugin now clears its own files from the opcode cache, waits until every file is older than the re-check window before migrating, and treats an error during the migration as “try again later” instead of failing the request.
    • Fixed: Pages are cached again on sites where a plugin opens a PHP session for every visitor or sets a visitor cookie such as “recently viewed products”. 2.7.0 treated any session and any cookie as private, which stopped most pages on such sites from being cached or served from the cache. Now only cookies that really mark a private page do: login, WooCommerce session and cart, password-protected posts, comment authors and the site’s own rejected cookies, together with an explicit private/no-store header and DONOTCACHEPAGE. The stricter behaviour is available as “Strict privacy” on the Settings page.
    • Fixed: Background tasks no longer stall when WP-Cron does not run. When a scheduled event is long overdue, or WordPress cannot spawn WP-Cron itself (DISABLE_WP_CRON without a server cron), ezCache triggers one throttled run of wp-cron.php. On one site this had left 26,000 WebP conversions queued for two weeks while every page view grew the queue. The ezCache screens now warn when a background task has been waiting for over an hour.
    • Added: The external WebP conversion service is paused for ten minutes after three failed requests in a row (network error, timeout, HTTP 5xx or 429). When that happens, every image that was charged an attempt for one of those failures gets it back, so an outage of the service no longer turns the queue into “failed” images; an image the service keeps rejecting while it answers for others is still marked failed after three attempts.
    • Fixed: A page could be stored, and then served to everyone, as the home page. Addresses that begin with two slashes or contain a colon followed by digits (/tag/x/page:2, filter URLs such as /shop/tax/product_cat:16/) lost their path when the cache key was built. The key is taken from the request path again and is lower-cased as before 2.7.0, so /%D7%A9/ and /%d7%a9/ are one entry and editing a post purges the copy visitors actually received.
    • Fixed: Converting images to WebP no longer empties the whole page cache (and Varnish, and Redis) after every batch of five images. The cache is refreshed once when the queue is finished, at most once an hour (filter ezcache_webp_refresh_interval).

    And 16 more notes.

    Source Diff vs 2.6.9
  3. 2.6.9
    • Fixed: A cache folder that cannot be deleted (for example files written by WP-CLI running as root) no longer blocks the background cleanup added in 2.6.7. The cleanup stopped at the first such folder, left every cache cleared after it on disk and retried every 30 seconds without making progress. It now skips what it cannot delete, removes everything else, logs what was left behind and tries the leftovers again on the next cache clear.
    Source Diff vs 2.6.8
  4. 2.6.8
    • Fixed: “Run preload” no longer stalls after the first batch when the “Enable preload” setting is off. The run was started, processed 5 pages and then stopped silently, because the background processor was only scheduled when the setting was on; the status still showed “running”. A run started by hand now always completes, and saving settings no longer cancels a run in progress.
    • Added: The preload status detects a stalled run (nothing processed for 10 minutes or no processor scheduled), shows it as “Stalled” with the time of the last activity, and offers a Resume button that continues from where it stopped. Runs stuck from earlier versions resume on the next visit to the admin.
    Source Diff vs 2.6.7
  5. 2.6.7
    • Fixed: Clearing the cache no longer blocks the request until every file is gone. The old cache is moved aside instantly and deleted in the background in small batches (WP-Cron event ezcache_purge_trash). On a site with 1.28 million cached pages the previous synchronous delete ran for minutes, and when triggered by a plugin update it re-ran on every admin page load and took the site down.
    • Fixed: A plugin update now records the new version before flushing the cache, so a slow or failed flush can never make the upgrade routine repeat itself.
    • Fixed: Recursive deletion streams the directory tree instead of loading the whole listing into memory.
    • Fixed: WooCommerce account pages and endpoints (My Account, order-pay, order-received, lost-password and similar) are no longer cached. A cached login form carries a nonce that expires, which broke logging in.
    Source Diff vs 2.6.5
  6. 2.6.5
    • Fixed: The DNS Prefetch and Preconnect fields are no longer replaced with “true”/”false”. They are domain-list text fields but were being cast to a boolean when the Performance screen loaded, which overwrote the saved domains.
    • Fixed: Combining Google Fonts no longer drops the font-display value. The combined request now uses font-display: swap by default (Google’s recommendation), preserving fast text rendering (FCP/LCP). Filterable via ezcache_google_fonts_display.
    Source Diff vs 2.6.4
  7. 2.6.4
    • Fixed: URL exclusions (Rejected URIs) with a wildcard () at the end or in the middle of the pattern now work correctly. Previously only a wildcard directly after a slash matched, so patterns like *add_to_wishlist silently failed with no error.
    • Added: Requests carrying a nonce or action parameter (_wpnonce, wc-ajax, add-to-cart, action, doing_wp_cron, add_to_wishlist and similar) are no longer cached. This prevents cache bloat from per-request values and avoids serving one visitor’s nonce to another. The list is filterable.
    Source Diff vs 2.6.3
  8. 2.6.3
    • Fixed: The cache no longer modifies non-HTML responses. Plain-text files (such as IndexNow verification keys and llms.txt), RSS/Atom feeds and other non-HTML output previously received the ezCache footer comment and other HTML optimizations, which could corrupt them and break IndexNow verification, for example. Only real HTML pages are processed and cached now; everything else passes through untouched.
    Source Diff vs 2.6.2
  9. 2.6.2
    • Fixed: Inline JavaScript minification no longer corrupts non-JavaScript script blocks such as JSON-LD structured data. The minifier turned true/false into !0/!1 (valid JavaScript but invalid JSON), which could break Google Rich Results with no visible error on the site. Only real JavaScript is minified now; JSON-LD, application/json and template blocks are left untouched. The same protection was added for non-CSS style blocks, and the page cache is flushed on update so previously cached pages are regenerated.
    Source Diff vs 2.6.1
  10. 2.6.1
    • Fixed: “Run Database Cleanup Now” now actually cleans the database. It previously reported success without deleting anything (it called a class left over from an internal rename). The button now also reports how many items were removed in each category.
    Source Diff vs 2.6.0
  11. 2.6.0
    • Added: Optional “Ignore tracking parameters when caching” setting (off by default, for advanced users). When enabled, pages are served from cache regardless of the value of tracking parameters such as gclid, fbclid or utm_*, so ad-campaign traffic is served from cache instead of creating a new cache entry per click. The ignored parameter list is configurable.
    Source Diff vs 2.5.6
  12. 2.5.6
    • Fixed: Cache preload now shows live progress in the dashboard and performance screens (it previously appeared stuck at 0%), and keeps updating after a page refresh while a run is in progress.
    • Fixed: The plugin version shown in the sidebar now matches the installed version.
    Source Diff vs 2.5.5
  13. 2.5.5
    • Fixed: WebP “Scan Media Library” now works reliably across hosting setups.
    • Fixed: WebP conversion runs in the background with live progress until it completes.
    Source Diff vs 2.5.4
  14. 2.5.4
    • Fix: Full cache flush no longer exhausts PHP memory (fatal error / HTTP 500) on large sites. Redis keys are now removed with a non-blocking SCAN cursor in small batches via UNLINK instead of loading every key with KEYS and issuing one bulk DEL.
    • Fix: Dashboard Redis key count now uses SCAN instead of KEYS, so loading the status no longer blocks Redis or spikes memory on large datasets.
    • Improved: The Redis object-cache drop-in uses the same batched SCAN/UNLINK flush.
    Source Diff vs 2.5.3
  15. 2.5.3
    • New: Added a “Send PURGE requests to Varnish on cache clear” setting (enabled by default) so sites without Varnish in their request path can disable it.
    • Improved: Varnish PURGE requests are now sent to the local instance (127.0.0.1) while preserving the public Host header, eliminating spurious 403 errors in server logs when the request would otherwise leave and re-enter via the public IP.
    Source Diff vs 2.5.2
  16. 2.5.2
    • Fix: Performance settings (lazy load, defer JS, etc.) no longer reset after save — API response flattened to match frontend expectations.
    • Fix: Dashboard now displays cache statistics correctly — restructured stats API to nested format.
    • Fix: Added missing boolean sanitization for 5 new fields (Redis, Critical CSS, Speculative Loading, Early Hints).
    • Fix: SettingsController now uses wp_send_json_success() consistently with all other controllers.
    • Security: Added input validation and whitelist sanitization to SettingsController::update().
    • Fix: Settings file write errors are now caught and logged instead of failing silently.

    And 1 more note.

    Source Diff vs 2.5.1
  17. 2.5.1
    • Fix: Settings now persist correctly — useApi unwraps the {success,data} REST envelope so form values hydrate (previously every setting reverted to defaults on reload).
    • Fix: “Clear Cache” also flushes Redis (object + full-page keys). Single-post / single-URL invalidation removes the matching Redis page key too.
    • Fix: Redis Full-Page Cache actually serves from Redis now — maybe_serve_cached_data checks Redis first; the buffer is mirrored to Redis on write with TTL = cache_lifetime.
    • New: Redis section on the Performance page — connection status, Object Cache + Full-Page toggles, drop-in warning, manual Flush button.
    • New: Redis widget on the Dashboard — Hit Rate / Memory / Cached Keys live stats, Connected/Disconnected badge, Flush button.
    • New: Development Mode UI on the Dashboard — duration picker (1h/2h/4h/8h/24h/Permanent), live “is active” banner with expiry countdown, Disable button.

    And 1 more note.

    Source Diff vs 2.5
  18. 2.5

    No notes for this release in the current readme.

    Source Diff vs 2.2.2
  19. 2.2.2

    No notes for this release in the current readme.

    Source Diff vs 2.2.1
  20. 2.2.1

    No notes for this release in the current readme.

    Source Diff vs 2.2.0
  21. 2.2.0
    • New: Redis Object Cache — store WordPress object cache in Redis
    • New: Redis Full-Page Cache — serve pages from Redis memory
    • New: Critical CSS — inline above-the-fold CSS, defer the rest
    • New: Speculative Loading — Chrome Speculation Rules API prerender
    • New: 103 Early Hints — HTTP 103 headers for faster asset loading
    • New: Site Diagnostic Tool — one-click performance analysis with recommendations

    And 6 more notes.

    Source Diff vs 1.7.2
  22. 1.7.2
    • Fix: Freemius SDK compatibility
    • Improved: WebP conversion reliability
    Source Diff vs 1.7.1
  23. 1.7.1

    No notes for this release in the current readme.

    Source Diff vs 1.6.6
  24. 1.6.6

    No notes for this release in the current readme.

    Source Diff vs 1.6.5
  25. 1.6.5

    No notes for this release in the current readme.

    Source Diff vs 1.6.4
  26. 1.6.4

    No notes for this release in the current readme.

    Source Diff vs 1.6.3
  27. 1.6.3

    No notes for this release in the current readme.

    Source Diff vs 1.6.2
  28. 1.6.2

    No notes for this release in the current readme.

    Source Diff vs 1.6.1
  29. 1.6.1

    No notes for this release in the current readme.

    Source Diff vs 1.6.0
  30. 1.6.0

    No notes for this release in the current readme.

    Source Diff vs 1.5.2
  31. 1.5.2

    No notes for this release in the current readme.

    Source Diff vs 1.5.1
  32. 1.5.1

    No notes for this release in the current readme.

    Source Diff vs 1.5
  33. 1.5

    No notes for this release in the current readme.

    Source Diff vs 1.4.1.1
  34. 1.4.1.1

    No notes for this release in the current readme.

    Source Diff vs 1.4.1
  35. 1.4.1

    No notes for this release in the current readme.

    Source Diff vs 1.4
  36. 1.4

    No notes for this release in the current readme.

    Source Diff vs 1.3.11
  37. 1.3.11

    No notes for this release in the current readme.

    Source Diff vs 1.3.10
  38. 1.3.10

    No notes for this release in the current readme.

    Source Diff vs 1.3.9
  39. 1.3.9

    No notes for this release in the current readme.

    Source Diff vs 1.3.8
  40. 1.3.8

    No notes for this release in the current readme.

    Source Diff vs 1.3.7
  41. 1.3.7

    No notes for this release in the current readme.

    Source Diff vs 1.3.6
  42. 1.3.6

    No notes for this release in the current readme.

    Source Diff vs 1.3.5
  43. 1.3.5

    No notes for this release in the current readme.

    Source Diff vs 1.3.4
  44. 1.3.4

    No notes for this release in the current readme.

    Source Diff vs 1.3.3
  45. 1.3.3

    No notes for this release in the current readme.

    Source Diff vs 1.3.2
  46. 1.3.2

    No notes for this release in the current readme.

    Source Diff vs 1.3.1
  47. 1.3.1

    No notes for this release in the current readme.

    Source Diff vs 1.3
  48. 1.3

    No notes for this release in the current readme.

    Source Diff vs 1.2.4
  49. 1.2.4

    No notes for this release in the current readme.

    Source Diff vs 1.2.3
  50. 1.2.3

    No notes for this release in the current readme.

    Source Diff vs 1.2.2
  51. 1.2.2

    No notes for this release in the current readme.

    Source Diff vs 1.2.1
  52. 1.2.1

    No notes for this release in the current readme.

    Source Diff vs 1.2
  53. 1.2

    No notes for this release in the current readme.

    Source