This commit is contained in:
Mateusz Gruszczyński committed 2026-11-20 23:14:19 +01:00
1 parent d455028de3
commit 5b2eaaff61
36 files changed
+2544 -102

No files matched your search

+4 -3
View File
@@ -2337,7 +2337,8 @@
"maxItems": 64
},
"static_ignore_cookies": {
"type": "boolean"
"type": "boolean",
"description": "For configured static extensions: ignore Cookie in the cache key and let cookie_pass rules (not pass) yield for public static assets. A Cookie-bearing fill is stored only when the backend reply is explicitly public (public, s-maxage, max-age>0 or Expires), not HTML, and has no Set-Cookie, private, no-store or Vary: */Authorization."
},
"static_extensions": {
"type": "array",
@@ -2525,7 +2526,7 @@
"static_ignore_vary_cookie": {
"type": "boolean",
"default": true,
"description": "For cookie-independent configured static extensions only, omit Cookie from Vary on explicitly public, otherwise cacheable responses. Requires static_ignore_cookies. Preserves other Vary dimensions and all private/no-store/Set-Cookie safeguards."
"description": "For cookie-independent configured static extensions only, omit Cookie from Vary on explicitly public, otherwise cacheable responses. Requires static_ignore_cookies. Preserves other Vary dimensions and all private/no-store/Set-Cookie safeguards. A response fetched with a Cookie must also pass the shared-static storage guard."
}
},
"additionalProperties": false
@@ -8865,7 +8866,7 @@
"maxItems": 16,
"items": {
"type": "object",
"description": "type: pass, lookup (VCL return(hash), Cookie exception in Varnish-compatible mode), strip_cookies{keep}, remove_named_cookies{names} (exact names or trailing-* prefixes; remaining cookies, including application sessions, survive), strip_query{params,keep_only}, hash_header{name}, hash_cookie{name}, set_request_header{name,value}, remove_request_header{name} (request; protected auth/cache/framing headers cannot be changed); ttl{seconds}, grace{seconds}, no_store, allow_store (reverses rule no_store only; origin restrictions remain), ignore_cache_control, strip_set_cookie, set_backend_header{name,value}, remove_backend_header{name} (response, applied before cacheability and forwarded headers); set_header{name,value}, default_header{name,value}, remove_header{name} (deliver, including cache-disabled responses).",
"description": "type: pass (explicit VCL return(pass); never relaxed), cookie_pass (Cookie/session guard, VCL return(cookie_pass) RustProxy extension; needs a non-negated Cookie condition; may be relaxed only for public static assets when static_ignore_cookies is on and no other rule bypasses the request), lookup (VCL return(hash), Cookie exception in Varnish-compatible mode), strip_cookies{keep}, remove_named_cookies{names} (exact names or trailing-* prefixes; remaining cookies, including application sessions, survive), strip_query{params,keep_only}, hash_header{name}, hash_cookie{name}, set_request_header{name,value}, remove_request_header{name} (request; protected auth/cache/framing headers cannot be changed); ttl{seconds}, grace{seconds}, no_store, allow_store (reverses rule no_store only; origin restrictions remain), ignore_cache_control, strip_set_cookie, set_backend_header{name,value}, remove_backend_header{name} (response, applied before cacheability and forwarded headers); set_header{name,value}, default_header{name,value}, remove_header{name} (deliver, including cache-disabled responses).",
"additionalProperties": true
},
"description": "Zero actions allowed only with stop=true (terminal return)."