This is a distributed HTTP cache module for Caddy.
- Supports most HTTP cache headers defined in RFC 7234 (see the TODO section for limitations)
- Sets the
Cache-Status
HTTP Response Header
See Caddyfile
and olricd.yaml
We are looking for volunteers to improve this module. Are you interested? Please comment in an issue!
- Add support for
Age
- Add support for
Vary
- Enable the distributed mode of Olric (our cache library)
- Allow to serve stale responses if the backend is down or while the new version is being generated
- Add Caddyfile directives
- Add support for the
stale-if-error
directive - Add support for the
stale-while-revalidate
directive - Add support for cache validation
- Add support for request coalescing
- Add support for cache invalidation (purge/ban)
- Add support for cache tags (similar to Varnish ykey)
- Add support for the
ttl
attribute of theCache-Status
header