Change cache to 4h
This commit is contained in:
parent
e04f87effe
commit
93b243000e
|
@ -58,7 +58,7 @@ if [ -z "$NO_UPLOAD" ]; then
|
||||||
--no-mime-magic \
|
--no-mime-magic \
|
||||||
--acl-public \
|
--acl-public \
|
||||||
--recursive \
|
--recursive \
|
||||||
--add-header="Cache-Control: max-age=31536000" \
|
--add-header="Cache-Control: max-age=14400" \
|
||||||
--add-header="x-amz-meta-surrogate-key: site-$PROJECT" \
|
--add-header="x-amz-meta-surrogate-key: site-$PROJECT" \
|
||||||
sync "$DIR/build/" "s3://hc-sites/$PROJECT/latest/"
|
sync "$DIR/build/" "s3://hc-sites/$PROJECT/latest/"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue