File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
ngwaf-terraform-edge-deploy Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -51,12 +51,12 @@ resource "fastly_service_vcl" "frontend-vcl-service" {
51
51
priority = 100
52
52
}
53
53
54
- # ### Disable caching, but keep request collapsing https://www.fastly.com/documentation/reference/vcl/variables/backend-response/beresp-cacheable/#effects-on-request-collapsing
54
+ # ### Disable caching, but keep request collapsing https://www.fastly.com/documentation/reference/vcl/variables/client-request/req-hash-always-miss/
55
55
# snippet {
56
56
# name = "Disable caching"
57
- # content = "set beresp.cacheable = false ;"
58
- # type = "fetch "
59
- # priority = 9000
57
+ # content = "set req.hash_always_miss = true ;"
58
+ # type = "recv "
59
+ # priority = 0
60
60
# }
61
61
62
62
# ### Useful for debugging with response headers
Original file line number Diff line number Diff line change 1
- #### https://docs.fastly.com/en/guides/temporarily-disabling-caching
2
- #### Do not use this for production traffic
3
- return (pass );
1
+ # https://www.fastly.com/documentation/reference/vcl/variables/client-request/req-hash-always-miss/
2
+ set req.hash_always_miss = true ;
You can’t perform that action at this time.
0 commit comments