This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/Cache
Nicolas Grekas 267b016415 bug #23763 [Cache] Hash cache key on save (lstrojny)
This PR was merged into the 3.3 branch.

Discussion
----------

[Cache] Hash cache key on save

| Q             | A
| ------------- | ---
| Branch?       | 3.3
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | ye
| Fixed tickets | n.A.
| License       | MIT
| Doc PR        | n.A.

Cache keys are not hashed right now in adapters extending from `AbstractAdapter`. This PR fixes this. I am not familiar enough with the cache test suite so I don't know where to add an regression test.

Commits
-------

94b1b12 Hash cache keys on save
2017-08-07 09:04:14 +02:00
..
Adapter Hash cache keys on save 2017-08-07 09:02:07 +02:00
DataCollector [HttpKernel et al.] Move DataCollector::cloneVar() to lateCollect() 2017-04-10 18:00:26 +02:00
Exception [Cache] Implement PSR-16 SimpleCache v1.0 2017-01-23 14:57:50 +01:00
Simple [Cache] add constructor docblocks for clarity 2017-07-17 08:54:27 +02:00
Tests Hash cache keys on save 2017-08-07 09:02:07 +02:00
Traits [Cache] Handle unserialization failures for Memcached 2017-07-23 10:41:58 +02:00
.gitignore [Cache] Symfony PSR-6 implementation 2016-01-19 08:02:17 +01:00
CacheItem.php [Cache] Add CacheItem::getPreviousTags() 2017-03-15 09:07:24 +01:00
CHANGELOG.md [Cache] Add CacheItem::getPreviousTags() 2017-03-15 09:07:24 +01:00
composer.json Bump minimal PHP version to ^5.5.9|>=7.0.8 2017-07-29 23:54:42 +02:00
DoctrineProvider.php [Cache] Add DoctrineProvider, for using PSR-6 pools in Doctrine Cache 2016-04-14 15:55:05 +02:00
LICENSE Merge branch '2.8' into 3.1 2017-01-02 12:31:54 -08:00
phpunit.xml.dist Merge branch '3.2' into 3.3 2017-05-24 18:53:35 +02:00
README.md [CACHE] fix README 2017-05-25 00:25:35 +07:00

Symfony PSR-6 implementation for caching

This component provides an extended PSR-6 implementation for adding cache to your applications. It is designed to have a low overhead so that caching is fastest. It ships with a few caching adapters for the most widespread and suited to caching backends. It also provides a doctrine/cache proxy adapter to cover more advanced caching needs and a proxy adapter for greater interoperability between PSR-6 implementations.

Resources