Fix: Recommend 'no-cache' and 'no-store' if the URL has sensitive data · rfc-st/humble@1f50e71 (original) (raw)

Original file line number Diff line number Diff line change
@@ -2153,7 +2153,7 @@ def custom_help_formatter(prog):
2153 2153 t_act = ('allowed-origin', 'load', 'retry')
2154 2154
2155 2155 # https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control
2156 -t_cache = ('no-cache', 'no-store', 'must-revalidate')
2156 +t_cache = ('no-cache', 'no-store')
2157 2157 t_cachev = ('immutable', 'max-age', 'must-revalidate', 'must-understand',
2158 2158 'no-cache', 'no-store', 'no-transform', 'private',
2159 2159 'proxy-revalidate', 'public', 's-maxage', 'stale-if-error',