Download the PHP package amphp/http-client-cache without Composer
On this page you can find all versions of the php package amphp/http-client-cache. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download amphp/http-client-cache
More information about amphp/http-client-cache
Files in amphp/http-client-cache
Package http-client-cache
Short Description An async HTTP cache for Amp's HTTP client.
License MIT
Informations about the package http-client-cache
http-client-cache
This package provides an HTTP cache in form of an ApplicationInterceptor
for Amp's HTTP client based on RFC 7234.
Features
- Private cache (
SingleUserCache
) - Automatic
vary
header support - Caching pushed responses
Planned Features
- Shared cache
- Conditional requests
Installation
This package can be installed as a Composer dependency.
Usage
Currently, only a SingleUserCache
is provided.
Therefore, it is unsafe to use a single instance for multiple users, e.g. different access tokens.
Examples
More extensive code examples reside in the examples
directory.
Versioning
amphp/http-client-cache
follows the semver semantic versioning specification like all other amphp
packages.
Security
If you discover any security related issues, please email [email protected]
instead of using the issue tracker.
License
The MIT License (MIT). Please see LICENSE
for more information.
All versions of http-client-cache with dependencies
ext-json Version *
ext-filter Version *
ext-hash Version *
amphp/amp Version ^2.4
amphp/http Version ^1.5
amphp/http-client Version ^4
amphp/cache Version ^1.3
psr/log Version ^1.1
kelunik/string Version ^1.0
amphp/byte-stream Version ^1.7