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. For memory-efficient handling of large responses, a StreamingCacheManager
trait is also available. 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
and StreamingCacheManager
traits work.
Supporting an HTTP Client
This section is intended for those looking to implement a custom HTTP client, or understand how the Middleware
trait works.