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

This package is not auto-updated.

Last update: 2023-03-18 10:03:10 UTC


README

Scrutinizer Code Quality Code Coverage Build Status

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