simple-cache
simple-cache copied to clipboard
PSR-16 simple cache drivers for PHP.
Hello, I think a function to exclusive some cache urls would be nice. In my case we have a reservation plugin and the search page to be cached for all,...
apcu part is not handling multiple websites well. See **https://github.com/terrylinooo/cache-master/issues/7** This is how the 'w3 total cache' plugin uses apcu. I guess if you incorporate something like the website name...
Getting error when using sqlite **code** `new \Shieldon\SimpleCache\Cache('sqlite', ['storage' => __DIR__ . '/simple-cache']);` **error** `PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 1 no such table: cache_data in vendor\shieldon\simple-cache\src\SimpleCache\Driver\SqlTrait.php:153`
The PHP file_put_contents() is racy and this line of code will result in corrupted file if two processes try to write in parallel and readers may see partial file contents...