amphp/http-client-cache

An async HTTP cache for Amp's HTTP client.

v1.0.0-rc1 2019-08-14 21:35 UTC

README

Build Status CoverageStatus License

This package provides an HTTP cache in form of an ApplicationInterceptor for Amp's HTTP client based on RFC 7234.

Features

  • Conditional requests (planned)
  • Private cache
  • Shared cache (planned)

Installation

This package can be installed as a Composer dependency.

composer require amphp/http-client-cache

Examples

More extensive code examples reside in the examples directory.

Versioning

amphp/http-client follows the semver semantic versioning specification like all other amphp packages.

Security

If you discover any security related issues, please email me@kelunik.com instead of using the issue tracker.

License

The MIT License (MIT). Please see LICENSE for more information.