caching
caching copied to clipboard
⏱ Caching library with easy-to-use API and many cache backends.
- new feature? yes, related to #52 - BC break? yes In SQLite is not possible to combine operator LIKE with string that contains \x00 character (ie NAMESPACE separator). Solution...
I do not know if it was the intention, but this behavior seems to me better. Especially if there is a large number of cached files.
Applications can be very complex and not all developers use the maximum cache expiration time correctly, which causes us to accumulate data on disk. It would be good to implement...
Is redis not supported? It would be better if we could support redis
In a high-concurrency system, at the moment of cache failure, a large number of requests will enter the database, which can easily cause the database to crash reference: https://www.wikiwand.com/en/Cache_stampede https://symfony.com/doc/current/components/cache.html
If i want implement apcu by IStorage then apcu has own atomic method, whose works fine. But interface of IStorage does not allow use callback for [apcu_entry](https://www.php.net/manual/en/function.apcu-entry.php). For this moment...
Sometimes I need debug application performance and I want detect how many time and how many requests cache must do. Imagine something like this panel: ![Snímek obrazovky 2020-02-04 v 14...
Version: 3.x-dev ### Bug Description unserialize(): Error at offset 0 of 145 bytes (variable number of bytes) File: ...\nette\caching\src\Caching\Storages\FileStorage.php:333 $variable_representation | "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00a:2:{s:2:"id";b:1;s:4:"code";b:1;}" (127) ### Steps To Reproduce Problem is with...
- bug report - `NO` - feature request - `YES` - version: >2.4.0 ### What's about A few days ago I was working on cache panel. My goal was to...
Couple of times per month I receive unserialize error ("Error at offset X of Y bytes") from RobotLoader which uses FileStorage. This suggests that FileStorage failed to write tha data...