Download the PHP package there4/slim-stash-middleware without Composer
On this page you can find all versions of the php package there4/slim-stash-middleware. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download there4/slim-stash-middleware
More information about there4/slim-stash-middleware
Files in there4/slim-stash-middleware
Download there4/slim-stash-middleware
More information about there4/slim-stash-middleware
Files in there4/slim-stash-middleware
Vendor there4
Package slim-stash-middleware
Short Description Slim Stash Cache Middleware
License MIT
Package slim-stash-middleware
Short Description Slim Stash Cache Middleware
License MIT
Please rate this library. Is it a good library?
Informations about the package slim-stash-middleware
Slim Stash Cache Middleware 
Caching middleware layer for Slim using Stash
About
A simple middleware layer for Slim that provides a caching mechanism for endpoints.
Example Setup
Here is an example of the middleware setup. It's using a config setting to enable the cache.
And an endpoint that uses the cache:
Quick API Reference
- $app->response->allowCache
bool
enable caching - $app->response->cacheExpiration
int
seconds to hold data in cache; - $app->response->signature
mixed
leave unset for automatic url based. String for simple signature. Callback function will be executed. Array incall_user_func
format is acceptable as well.
TODO
- Cache warming script
- Tests
All versions of slim-stash-middleware with dependencies
PHP Build Version
Package Version
Requires
tedivm/stash Version
0.12.*
The package there4/slim-stash-middleware contains the following files
Loading the files please wait ....