guzzle-cache-middleware
guzzle-cache-middleware copied to clipboard
A HTTP Cache for Guzzle 6. It's a simple Middleware to be added in the HandlerStack.
If cache directory exists but is not writeable, the library fails silently and does not cache any responses when using Doctrine Cache + Filesystem Cache. Example: Set cache directory permissions...
I just ran across these functions in guzzle/psr7, and it seems like it would make sense to use the built-in ways to serialize a request or response. I'm curious if...
As of now we can only exclude http methods. It would be great also to explicitly tell to not cache 404 (for example). A good idea might be to update...
https://tools.ietf.org/html/rfc7234#section-4.2.2 For response without explicit expiration times. cf #19
https://tools.ietf.org/html/rfc7234#section-5.5
``` Error: kylekatarnls/update-helper contains a Composer plugin which is blocked by your allow-plugins config. You may add it to the list if you consider it safe. You can run "composer...
Since CacheEntry uses PumpStream for the response, attempting to use this middleware with gmponos/guzzle-log-middleware results in the following error: > StringHandler can not log request/response because the body is not...
### Summary Currently this middleware supporting only flysystem v1 was released [8 years ago(19th of January in 2015)](https://flysystem.thephpleague.com/docs/upgrade-from-1.x/). This PR added support for newer version flysystem v3
I am getting this warning. Probably problem is part of this [PR](https://github.com/Kevinrob/guzzle-cache-middleware/pull/156) Packages: ``` gregurco/guzzle-bundle-cache-plugin | v3.0.0 guzzlehttp/guzzle | 7.5.0 guzzlehttp/promises | 1.5.2 guzzlehttp/psr7 | 2.4.3 http-interop/http-factory-guzzle | 1.2.0 kevinrob/guzzle-cache-middleware...