1.6.0
- Support for HTTPlug 2 / PSR-18
- Added
cache_listeners
option, which takes an array ofCacheListener
s, 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 anX-Cache
header to the response with this information.