Change cache to 4h

This commit is contained in:
Seth Vargo 2017-02-09 14:36:28 -05:00 committed by GitHub
parent 03ebb4f2f1
commit aa8616f979
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,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/"