Development

http-cache is meant to be extended to support multiple HTTP clients and backend cache managers. A CacheManager trait has been provided to help ease support for new backend cache managers. Similarly, a Middleware trait has been provided to help ease supporting new HTTP clients.

Supporting a Backend Cache Manager

This section is intended for those looking to implement a custom backend cache manager, or understand how the CacheManager trait works.

Supporting an HTTP Client

This section is intended for those looking to implement a custom HTTP client, or understand how the Middleware trait works.