Verified Commit 310822e2 authored by doshitan's avatar doshitan

Cache favicon/site icon for 1 hour

There's no cache-busting on these at the moment, to retain some
predictability in the file name. That may change at some point, but for
now at least cache them for a little bit.
parent ccdb8c74
......@@ -100,6 +100,14 @@ sync-headers:
--include="search/*.json" \
--add-header=Cache-Control:max-age=31536000
s3cmd modify s3://$(AWS_S3_BUCKET) \
--verbose \
--recursive \
--exclude="*" \
--include="assets/img/favicon-*" \
--include="assets/img/apple-touch-icon-*" \
--add-header=Cache-Control:max-age=86400
sync-fix-mime:
s3cmd modify s3://$(AWS_S3_BUCKET) \
--verbose \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment