mihai-stancu/cache-bundle

Cache items with associated tagging information and subsequently fetch or delete items based on tags.

0.3.5 2019-08-23 08:55 UTC

This package is auto-updated.

Last update: 2024-04-23 19:31:21 UTC


README

A Cache system which allows cache items to be associated to tags. When saving a cache item you can also supply its associated tags.

Operations based on associated tags are:

  • findByTags($tags): the item must be associated with all specified tags;
  • deleteByTags($tags): the item must be associated with all specified tags;

The implementation leverages the SET data type provided by Redis and the set intersection command.