Simple
namespaceSimpleCacheAdapter
AbstractAdapter::unserialize()
CacheItem::getPreviousTags()
$prefix
to AdapterInterface::clear()
RedisTagAwareAdapter
to support Redis server >= 2.8 and up to 4B items per tagTagAwareMarshaller
for optimized data storage when using AbstractTagAwareAdapter
DeflateMarshaller
to compress serialized valuescompression
RedisTagAwareAdapter
is not compatible with RedisCluster
from Predis
anymore, use phpredis
insteadCacheDataCollector
class as @final
.psr/simple-cache
dependency, run composer require psr/simple-cache
if you need itPsr16Cache
or Symfony\Contracts\Cache\CacheInterface
implementations insteadSimpleCacheAdapter
, use Psr16Adapter
insteadMarshallerInterface
and DefaultMarshaller
to allow changing the serializer and provide one that automatically uses igbinary when availableCacheInterface
, which provides stampede protection via probabilistic early expiration and should become the preferred way to use a cachecompression
and tcp_keepalive
optionsLogicException
when CacheItem::tag()
is called on an item coming from a non tag-aware poolCacheItem::getPreviousTags()
, use CacheItem::getMetadata()
insteadAbstractAdapter::unserialize()
and AbstractCache::unserialize()
methodsCacheCollectorPass
(originally in FrameworkBundle
)CachePoolClearerPass
(originally in FrameworkBundle
)CachePoolPass
(originally in FrameworkBundle
)CachePoolPrunerPass
(originally in FrameworkBundle
)