This package defines hierarchical PSR-6 pools. A hierarchical pool can invalidate a branch without enumerating every child key.
For example, deleting |users|42|followers also invalidates keys below that path.
composer require cache/hierarchical-cache:^2.1Read the hierarchical cache guide for key syntax and invalidation behavior.
Adapter authors can use HierarchicalCachePoolTrait. Read the implementation guide before storing or deleting hierarchical keys.
Version 2.1 supports cache/adapter-common 2 and 3. Use it with the Common version required by the concrete adapter.
Send pull requests to the main repository. Report issues on the GitHub issue tracker.