php-http/cache-plugin
PSR-6 cache plugin for HTTPlug that adds transparent HTTP response caching to your client. Plug it into the HTTPlug plugin client to cache and reuse responses, reducing network calls and improving performance.
EtagCachePlugin to cache only ETag-backed responses and always revalidate them before serving cached bodies.StreamFactory, only PSR-17 StreamFactoryInterface is now supported.null and use 0 explicitly to calculate expirationnull.StreamFactoryInterface.blacklisted_paths option, which takes an array of strings (regular expressions) and allows to define paths, that shall not be cached in any case.cache_listeners option, which takes an array of CacheListeners, who get notified and can optionally act on a Response based on a cache hit or miss event. An implementation, AddHeaderCacheListener, is provided which will add an X-Cache header to the response with this information.See Change log for changes.
See Change log for changes.
See Change log for changes.
Plugin separated from the main plugins repo
How can I help you explore Laravel packages today?