From dd964ca60b31450894f0dacb0cf0a0627bb751b6 Mon Sep 17 00:00:00 2001 From: Jake Date: Fri, 17 Jan 2025 11:01:57 +0000 Subject: [PATCH] Reduce prout cache control max age (#1747) --- riff-raff.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/riff-raff.yaml b/riff-raff.yaml index e7be84766..9aab7c704 100644 --- a/riff-raff.yaml +++ b/riff-raff.yaml @@ -8,7 +8,7 @@ deployments: type: aws-s3 parameters: bucketSsmKey: /account/services/dotcom-static.bucket - cacheControl: public, max-age=315360000, immutable + cacheControl: [{ "pattern": "/commercial/prout$", "value": "max-age=0" },{ "pattern": ".*", "value": "public, max-age=315360000, immutable"}] prefixStack: false publicReadAcl: false commercial-bundle-path: