envoyproxy/envoy

CacheFilter: Support customizing whether to cache responses with no cache-control directives

Open

#9,834 opened on Jan 25, 2020

View on GitHub
 (0 comments) (0 reactions) (0 assignees)C++ (5,373 forks)batch import
area/cachehelp wanted

Repository metrics

Stars
 (27,997 stars)
PR merge metrics
 (Avg merge 8d) (378 merged PRs in 30d)

Description

RFC7231§6.1 permits caching some responses to GET/HEAD requests without explicit cache-related headers, depending on the status code. To prevent unpleasant surprises, it should be configurable whether CacheFilter (#7198) caches such responses or whether it requires a positive indication of cacheability.

Contributor guide