kevinrob/guzzle-cache-middleware
A PSR-7 compatible HTTP cache middleware for Guzzle 6+ with RFC 7234 compliance. Pluggable storage backends include Laravel cache, Flysystem, PSR-6, PSR-16, and WordPress Object Cache. Add it to the HandlerStack to speed up repeated API calls.
Full Changelog: https://github.com/Kevinrob/guzzle-cache-middleware/compare/7.0.0...8.0.0
Full Changelog: https://github.com/Kevinrob/guzzle-cache-middleware/compare/8.0.0-RC2...8.0.0-RC3
Full Changelog: https://github.com/Kevinrob/guzzle-cache-middleware/compare/v8.0.0-RC1...8.0.0-RC2
Full Changelog: https://github.com/Kevinrob/guzzle-cache-middleware/compare/7.0.0...v8.0.0-RC1
Full Changelog: https://github.com/Kevinrob/guzzle-cache-middleware/compare/6.0.0...7.0.0
static keyword instead of self by @jblz in https://github.com/Kevinrob/guzzle-cache-middleware/pull/189Full Changelog: https://github.com/Kevinrob/guzzle-cache-middleware/compare/v5.1.0...6.0.0
The inspect_all function has been changed to Utils::inspectAll #178
guzzlehttp/psr7Laravel cache duration changes #116 (PR #123)add TTL to PSR16 storage implementation @sergiuPHPAdd dynamic TTL for GreedyCacheStrategy (#98 et #100)
Example:
$request = (new Request('GET', 'http://test.com/'))
->withHeader(GreedyCacheStrategy::HEADER_TTL, 120);
$this->client->send($request);
New major version 3.0.0
delete method for removing request from cache #96How can I help you explore Laravel packages today?