Skip to content

Commit 926b463

Browse files
committed
feat(infra): apply condition
1 parent 6d17583 commit 926b463

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

infra/cdn/main.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,14 @@ resource "fastly_service_vcl" "python_org" {
6868
ttl = 0
6969
}
7070

71+
cache_setting {
72+
action = "pass"
73+
cache_condition = "Don't cache 404s for /static"
74+
name = "No caching for /static 404s"
75+
stale_ttl = 0
76+
ttl = 0
77+
}
78+
7179
condition {
7280
name = "Force Pass No-Cache No-Store"
7381
priority = 10

0 commit comments

Comments
 (0)