From 93b243000eb057bcd2b94623cc996d49bcf84c6e Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Thu, 9 Feb 2017 14:35:40 -0500 Subject: [PATCH] Change cache to 4h --- website/scripts/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/scripts/deploy.sh b/website/scripts/deploy.sh index fb97db39b..7ac655f0a 100755 --- a/website/scripts/deploy.sh +++ b/website/scripts/deploy.sh @@ -58,7 +58,7 @@ if [ -z "$NO_UPLOAD" ]; then --no-mime-magic \ --acl-public \ --recursive \ - --add-header="Cache-Control: max-age=31536000" \ + --add-header="Cache-Control: max-age=14400" \ --add-header="x-amz-meta-surrogate-key: site-$PROJECT" \ sync "$DIR/build/" "s3://hc-sites/$PROJECT/latest/"