Initial commit

This commit is contained in:
Alejandro Angulo 2020-07-17 17:51:51 -07:00
commit c0a2bc6a81
No known key found for this signature in database
GPG key ID: C48F54CC664BCDB1
12 changed files with 354 additions and 0 deletions

View file

@ -0,0 +1,22 @@
order = [".jpg$", ".gif$"]
[[targets]]
name = "aws-s3"
URL = "$S3URL"
cloudFrontDistributionID = "$cloudFrontDistributionID"
[[matchers]]
# Cache static assets for 1 year.
pattern = "^.+\\.(js|css|svg|ttf)$"
cacheControl = "max-age=31536000, no-transform, public"
gzip = true
[[matchers]]
pattern = "^.+\\.(png|jpg)$"
cacheControl = "max-age=31536000, no-transform, public"
gzip = false
[[matchers]]
pattern = "^.+\\.(html|xml|json)$"
gzip = true