imageproxy/third_party/httpcache
Will Norris 1ceba2538c add -forceCache flag to override no-store and private directives
The httpcache package is intended only to be used in private caches, so
it will cache responses marked `private` like normal.  However,
imageproxy is a shared cache, so these response should not be cached
under normal circumstances.  This change introduces a potentially
breaking change to start respecting the `private` cache directive in
responses.

This also adds a new `-forceCache` flag to ignore the `private` and
`no-store` directives, and cache all responses regardless.
2025-05-01 02:54:36 -07:00
..
httpcache.go add -forceCache flag to override no-store and private directives 2025-05-01 02:54:36 -07:00
LICENSE third_party/httpcache: add copy of parts of httpcache 2025-04-30 01:33:37 -07:00
README.md third_party/httpcache: add copy of parts of httpcache 2025-04-30 01:33:37 -07:00

httpcache is a copy of https://github.com/gregjones/httpcache with only the cache control header parsing logic.