Add tag support to your PSR-6 cache implementation
This repository has traits and interfaces that makes a PSR-6 cache implementation taggable. Using tags allow you to tag related items, and then clear the cached data for that tag only. It is a part of the PHP Cache organisation. To read about features like tagging and hierarchy support please read the shared documentation at www.php-cache.com.
Note: Performance will be best with a driver such as memcached or redis, which automatically purges stale records.
composer require cache/taggable-cache
Read the documentation on usage.
Read the documentation on implementation.