Nicolas Grekas
8cf3625b11
[Cache] add "setCallbackWrapper()" on adapters implementing CacheInterface for more flexibility
2018-09-24 20:03:00 +02:00
Nicolas Grekas
0a1220fd96
[Cache] leverage Contracts\Cache
2018-09-04 09:24:06 +02:00
Nicolas Grekas
e81285249b
Merge branch '4.1'
...
* 4.1:
Fix Clidumper tests
Enable the fixer enforcing fully-qualified calls for compiler-optimized functions
Apply fixers
Disable the native_constant_invocation fixer until it can be scoped
Update the list of excluded files for the CS fixer
2018-07-26 10:59:12 +02:00
Nicolas Grekas
b9433001cb
Merge branch '3.4' into 4.0
...
* 3.4:
Fix Clidumper tests
Enable the fixer enforcing fully-qualified calls for compiler-optimized functions
Apply fixers
Disable the native_constant_invocation fixer until it can be scoped
Update the list of excluded files for the CS fixer
2018-07-26 10:51:09 +02:00
Nicolas Grekas
f5939a8336
Merge branch '2.8' into 3.4
...
* 2.8:
Fix Clidumper tests
Enable the fixer enforcing fully-qualified calls for compiler-optimized functions
Apply fixers
Disable the native_constant_invocation fixer until it can be scoped
Update the list of excluded files for the CS fixer
2018-07-26 10:45:46 +02:00
Nicolas Grekas
9c328c4894
[Cache] Add MarshallerInterface
allowing to change the serializer, providing a default one that automatically uses igbinary when available
2018-07-08 10:55:08 +02:00
Nicolas Grekas
08554ea18c
[Cache] Use sub-second accuracy for internal expiry calculations
2018-06-11 14:32:29 +02:00
Nicolas Grekas
13523ad985
[Cache] Add stampede protection via probabilistic early expiration
2018-06-10 18:44:41 +02:00
Nicolas Grekas
589ff697f4
[Cache] Add [Taggable]CacheInterface, the easiest way to use a cache
2018-05-18 14:27:36 +02:00
Nicolas Grekas
5eab353117
Remove some visual debt by adding type hints on final methods/classes
2017-10-24 16:36:35 +02:00
Nicolas Grekas
14c91f2bc9
[Cache] Add ResettableInterface to allow resetting any pool's local state
2017-09-25 10:20:08 +02:00
Nicolas Grekas
f8a75180e0
[Cache] Use namespace versioning for backends that dont support clearing by keys
2017-08-27 09:56:53 +02:00
Christian Flothmann
813a5377e1
[Cache] add constructor docblocks for clarity
2017-07-14 16:39:18 +02:00
Nicolas Grekas
35ba478680
[Cache] Fix default lifetime being ignored
2016-07-27 10:15:52 +02:00
Nicolas Grekas
040f53d3e6
[Cache] Fix double fetch in ProxyAdapter
2016-06-14 07:54:16 +02:00
Nicolas Grekas
9461750bd0
[Cache] Drop counting hit/miss in ProxyAdapter
2016-05-25 09:47:04 +02:00
Nicolas Grekas
4256add915
[Cache] Test & tweak CacheItem::validateKey()
2016-04-20 18:47:41 +02:00
Nicolas Grekas
af09cdef49
[Cache] Add CacheItem::validateKey utility method
2016-04-20 11:19:01 +02:00
Nicolas Grekas
bc51fdeec3
[Cache] Normalize constructor arguments order
2016-04-04 11:41:14 +02:00
Kévin Dunglas
ebdcd16bdd
[Cache] Add a Chain adapter
2016-03-17 09:39:21 +01:00
Nicolas Grekas
5068f8751a
[Cache] Add namespace handling to all adapters
2016-03-10 10:26:34 +01:00
Nicolas Grekas
e6f21f999e
[Cache] Count cache hits/misses in ProxyAdapter
2016-03-04 10:23:38 +01:00
Nicolas Grekas
064ec0b578
[Cache] Fix expiries handling
2016-02-08 08:22:02 +01:00
Nicolas Grekas
0ba851abeb
[Cache] Allow and use generators in AbstractAdapter
2016-01-20 10:11:05 +01:00
Nicolas Grekas
91e482ae8e
[Cache] Symfony PSR-6 implementation
2016-01-19 08:02:17 +01:00