Merge commit '2e711a28c71e8667258e5ab824f9b9a71c261b0a'

This commit is contained in:
Bjørn Erik Pedersen
2019-12-15 10:37:36 +01:00
31 changed files with 95 additions and 54 deletions

View File

@@ -90,14 +90,14 @@ cloudFrontDistributionID = <ID>
# Samples:
[[deployment.matchers]]
# Cache static assets for 20 years.
# Cache static assets for 1 year.
pattern = "^.+\\.(js|css|svg|ttf)$"
cacheControl = "max-age=630720000, no-transform, public"
cacheControl = "max-age=31536000, no-transform, public"
gzip = true
[[deployment.matchers]]
pattern = "^.+\\.(png|jpg)$"
cacheControl = "max-age=630720000, no-transform, public"
cacheControl = "max-age=31536000, no-transform, public"
gzip = false
[[deployment.matchers]]