API Enhancer (SISL fork)
Cache Magento 2 REST API responses via Varnish: cache tags, targeted invalidation on product/category change, customer context. For headless/PWA. Runs on 2.4.9.
A headless or PWA storefront can hammer the Magento REST API with thousands of requests. API Enhancer adds a Varnish-based cache layer: it caches API responses, attaches cache tags based on loaded products/categories (targeted invalidation on change), cache-key processors and customer context for personalised cached responses. The result is a much lighter backend under heavy API traffic.
Maintained fork of the abandoned msp/apienhancer (MageSpecialist, 2018, php ^7.0|^7.1 = no PHP 8.x). Verified on Magento 2.4.9 / PHP 8.4 (di:compile, all classes instantiate, API preferences wired). Needs a running Varnish for actual caching. Install via VCS + dev-main.