caching
caching copied to clipboard
⏱ Caching library with easy-to-use API and many cache backends.
- bug report? yes - feature request? no - version: 2.5.6 (nette/caching) ### Description When trying to load cache by fallback in another fallback of load, script runs to infinity...
Extending `$cache->clean();` with possibility to search for tags to drop using AND logic - new feature? - BC break? no - doc PR: nette/docs (not yet, but planned) Usage: Dropping...
- new feature - BC break? no - doc PR: _TBD after discussion_ This PR implements the functionality of `Memcached::setMulti()` and `Memcached::deleteMulti()` methods available in php `memcached` extension. Adds `BulkWriter`...
Version: 3.2.2 ### Bug Description https://forum.nette.org/cs/36236-cache-invalidace-podle-patternu#p225445 ``` $cache1 = new Cache($this->cacheStorage, 1); $cache2 = new Cache($this->cacheStorage, 2); $cache1->save("key1-1", "value-1-1", [Cache::Priority => 1]); $cache2->save("key2-1", "value-2-1", [Cache::Priority => 1]); $cache1->clean([ Cache::Priority =>...
- I found out Memcached is not storing some structure I wanted. I discovered that `set()` function fails, responding with false. Later I discovered reason using `Memcached::getResultCode()` which I found...
Hello, I needed to create [PSR16](https://github.com/php-fig/simple-cache/tree/master) like [implementation for Nette](https://github.com/h4kuna/critical-cache/blob/main/src/PSR16/NetteCache.php). Could I add to this repository as a bridge? I can prepare PR, if you agree.
Nette Cache FileStorage runs clean() with a 0.001 probability - a sane and sensible default, works great. However the other provided storage methods, such as SQLiteStorage and MemcachedStorage, do NOT...
- Feature - Addresses Issue #83 - BC break? no Basically, added probabilistic garbage collection using clean() to SQLiteStorage - this matches the behaviour of FileStorage and prevents the cache...
- bug fix - BC break? no PHPStan fails due to wrong brackets used in array type , this is a simple quick fix
Would it be possible to enhance the FileStorage in a way that instead of direct usage of functions serialize and unserialize it uses some protected methods which would allow to...