tonis-io / response-cache
This package's canonical repository appears to be gone and the package has been frozen as a result.
dev-master / 1.0.x-dev
2015-07-10 18:58 UTC
Requires
- php: >=5.5
- doctrine/cache: ^1.0
Requires (Dev)
- phpunit/phpunit: ^4.0
- squizlabs/php_codesniffer: ^2.0
This package is not auto-updated.
Last update: 2023-03-18 10:03:10 UTC
README
Tonis\ResponseCache
Tonis\ResponseCache is simple middleware caches requests based on path/method and return static cache if a hit is found.
Composer
composer require tonis-io/response-cache
Usage
// create an instance and give it your psr-3 logger $responseCache = new \Tonis\ResponseCache; // add $responseCache to your middleware queue