v0.13.0
What's Changed
New directives:
max_cacheable_body_bytes: Limit the response size of a cacheable resource.- key
disable_scheme: Prevent the scheme to be part of the cache key.hash: Generate a hash from the key to have smaller keys (useful in redis).template: The cache-handler is now able to generate the cache key from a template that contains some placeholders see the documentation here.
otter: New fast in-memory storage (will replace badger in a near future).storers: Chain multiple storages.
Use the RegisterDirectiveOrder to set the cache directive as before rewrite by default.
Full Changelog: v0.12.0...v0.13.0