selveq / cache
Magento 2 Cache extension for ScandiPWA theme
2.0.0
2026-09-18 20:13 UTC
Requires
- php: ^8.3
- magento/framework: ^103.0
- magento/module-catalog: ^104.0
- magento/module-cms: ^104.0
- magento/module-graph-ql: ^100.4
- magento/module-graph-ql-cache: ^100.4
- magento/module-page-cache: ^100.4
- selveq/persisted-query: ^4.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
This package is not auto-updated.
Last update: 2026-09-19 19:37:21 UTC
README
Fork of scandipwa/cache 1.1.5, maintained by Selveq for Magento 2.4.9 and PHP 8.3. Module name and namespace are unchanged, and the package replaces scandipwa/cache at every version, so it installs as a drop-in replacement. Selveq is not affiliated with or endorsed by Scandiweb.
What it does
- Emits one
X-Magento-Tagsheader per persisted query, from the identities of every entity the request loaded and from core's per-resolver cache identities. - Answers
404withmax-age=0when a query resolved nothing, so an empty answer is never cached. - Emits no tags when a resolver declares the query uncacheable.
- Purges Varnish on CMS page, CMS block, menu and menu item saves.
Install
composer require selveq/cache bin/magento setup:upgrade
License
OSL-3.0, the license of the original work. Scandiweb's copyright notices are kept in every file, and each file Selveq changed carries a Modifications © Selveq notice.