diff options
author | Ian Lewis <ianmlewis@gmail.com> | 2019-03-29 22:40:11 -0400 |
---|---|---|
committer | Ian Lewis <ianmlewis@gmail.com> | 2019-03-29 22:40:11 -0400 |
commit | 22f1890a9beab11d8cfdceba3a4d66f8bbbb468c (patch) | |
tree | 110ec3a84a72560244ee4476852295b86a737eb0 /themes/docsy/.s3deploy.yml |
Initial commit
Diffstat (limited to 'themes/docsy/.s3deploy.yml')
-rw-r--r-- | themes/docsy/.s3deploy.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/themes/docsy/.s3deploy.yml b/themes/docsy/.s3deploy.yml new file mode 100644 index 000000000..c8985e027 --- /dev/null +++ b/themes/docsy/.s3deploy.yml @@ -0,0 +1,14 @@ +routes: + - route: "^.+\\.(js|css|svg|ttf)$" + # cache static assets for 20 years + headers: + Cache-Control: "max-age=630720000, no-transform, public" + gzip: true + - route: "^.+\\.(png|jpg)$" + headers: + Cache-Control: "max-age=630720000, no-transform, public" + gzip: true + - route: "^.+\\.(html|xml|json)$" + gzip: true + +
\ No newline at end of file |