Slim-HttpCache
Slim-HttpCache copied to clipboard
Slim Framework HTTP cache middleware and service provider
I am trying to add caching to Slim 3, I followed the instruction in https://www.slimframework.com/docs/v3/features/caching.html : ``` $app = new Slim\App(['settings' => $config]); $container = $app->getContainer(); $container['cache'] = function ()...
``` php $cacheProvider->allowCache($response, 'private', '+12 hours'); // should not be: private, max-age=1539965032 // but should be: private, max-age=43200 ```
Readme says that this project require slim 3 or newer... It seems that this can be use with any psr7 library that can handle middleware in the same way then...
I wonder if the current implementation of the HTTP Cache is really performant. To me, it looks like the cache middleware creates the whole response first and then compares the...
Hello Does "Slim-HttpCache" integrate with the twig cache or is an alternative to it ? Thank you Andrea
truncating the body to reduce data transmission on cache hits. closes #54
There is odd behaviour around cache hits, the whole idea of the 304 status is to reduce data transmission if the browser/client has data which is still accurate. I've noticed...
I cant seem to find any cache documentation at all for Slim 4 https://www.slimframework.com/docs/v4/ Is this Slim-HttpCache built into Slim 4 now? If not, how do i use this HttpCache?...