LiteMage2 – 2.2.7Jul 10, 2026
- IMPROVEMENT Changed the default Purge Products after a Sale behavior to Always purge the product for safer cache invalidation on fresh installs.
- IMPROVEMENT Removed the hard dependency on magento/module-inventory-sales-api/Magento_InventorySalesApi; Magento Inventory stock services are now resolved only when needed.
- BUGFIX Fixed checkout/order placement crashes when Magento Inventory (MSI) modules or stock services are disabled or unavailable.
- BUGFIX Clarified the admin configuration error when Only purge the product when out of stock is selected without magento/module-inventory-sales.
- BUGFIX Fall back to always purging sold product tags if stock resolution fails during order placement.
LiteMage2 – 2.2.6May 26, 2026
- SECURITY Hardened ESI block and shell purge entry points with signed request tokens; shell purge tokens expire.
- SECURITY Added request validation for ESI block names, encoded layout handles, shell purge timestamps, and nonces.
- SECURITY Stopped trusting client-forwarded LiteMage and debug headers for runtime module enablement and debug IP matching.
- NEW FEATURE Added support for cacheable HTTP 201 responses, including Cloudflare-protected CLI purge responses. Thanks @martinstoehr.
- NEW FEATURE Added an automatic purge-all hook when themes are assigned to stores.
- UPDATE Modernized frontend and shell controllers for current Magento action interfaces and raw result responses.
- UPDATE Switched CLI purge requests to Magento's framework Curl client with signed URLs, explicit batch flushing, host-header support, basic-auth handling, and improved response logging.
- UPDATE Returned explicit success codes from LiteMage CLI commands for Magento 2.4.6+ console compatibility. Thanks @martinstoehr.
- UPDATE Split LiteMage tag headers by value length so large identity-tag sets are emitted across multiple headers instead of being truncated.
- UPDATE Switched custom vary refresh to a GET JSON endpoint with no-store response headers.
- UPDATE Marked generated ESI includes as no-vary and skipped custom-vary refresh checks for ESI requests.
- UPDATE Improved admin LiteMage statistics parsing and output escaping.
LiteMage2 – 2.2.5May 14, 2025
- IMPROVEMENT Removed dependency on jQuery library for custom vary.
- BUGFIX Fixed error where LiteMage Logger was not properly initialized.
LiteMage2 – 2.2.4Mar 20, 2024
- NEW FEATURE Added LiteMage console flush commands: cache:litemage:flush:cats - Flushes LiteMage cache by a list of category IDs cache:litemage:flush:prods - Flushes LiteMage cache by a list of product IDs cache:litemage:flush:tags - Flushes LiteMage cache by a list of tags
- NEW FEATURE Added Disable CLI Purge setting to temporarily disable CLI flush and speed up the external sync process. (Also available via CLI as cache:litemage:cli-flush status|enable|disable)
- IMPROVEMENT Improved the efficiency of CLI flush by batching the requests and filtering early against ignored cache/purge tags.
- BUGFIX Fixed the wrong category tags introduced in 2.2.3 when using the cache:litemage:flush:cats command.
LiteMage2 – 2.2.3Feb 13, 2024
- NEW FEATURE Added LiteMage console flush commands: cache:litemage:flush:cats - Flushes LiteMage cache by a list of category IDs cache:litemage:flush:prods - Flushes LiteMage cache by a list of product IDs cache:litemage:flush:tags - Flushes LiteMage cache by a list of tags
- NEW FEATURE Added Basic Authentication configuration to allow CLI flush to work properly when the site is protected by BasicAuth.
- IMPROVEMENT If CLI flush fails, hide the HTML error content. Only list out the error code and a simple error message with tips.
LiteMage2 – 2.2.2Sep 28, 2023
- BUGFIX After an order is placed, when trying to purge out-of-stock simple products with customizable options, may fail to get the salable quantity. Will now ignore this case.
- BUGFIX Fixed missing tags for cacheable ajax requests and GraphQI requests.
- BUGFIX Fixed the missing LiteMage cached object count.
LiteMage2 – 2.2.1Jul 27, 2023
- BUGFIX Fixed two undefined variable warnings introduced in v2.2.
- BUGFIX Fixed a problem where the newly added option in v2.2 for *Purge Products after a Sale* broke Magento when the Magento_Inventory module was replaced by third party inventory management. This new option is now only effective when used with the built-in Magento_Inventory module.
LiteMage2 – 2.2Jul 19, 2023
- NEW FEATURE Added support for private ESI blocks.
- NEW FEATURE Added a new Purge Tuning section in LiteMage config. - Allow fine tuning to reduce purge tags when reindexing. - Added option to allow purge products after a sale. - Added Ignored Purge tags setting.
- NEW FEATURE Added event "litemage_add_cache_tags" to allow a third party API to add cache tags in addition to those from the identity blocks.
- UPDATE When a page is not cacheable, explicitly set the "X-LiteSpeed-Cache-Control: no-cache" header.
- UPDATE When static assets like CSS files are not found, the page is processed dynamically. LiteMage Cache ESI injection is bypassed in this case.
- IMPROVEMENT Improved efficiency by reducing hook points.
- IMPROVEMENT Improved debug logging messages.
- BUGFIX Fixed a typo that caused a failure when sending a large purge header.
- BUGFIX When purging from CLI, split into muliple segments if the URL contains more than 50 tags, to keep URLs a reasonable length.