haproxyconf-2022/etc/varnish/conf.d/respect_cache_request_headers.recv.vcl

3 lines
148 B
Plaintext

# respect Cache-Control from client
if (req.http.Cache-Control ~ "(private|no-cache|no-store)" || req.http.Pragma == "no-cache") { return (pass); }