mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
Merge commit '2e711a28c71e8667258e5ab824f9b9a71c261b0a'
This commit is contained in:
@@ -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]]
|
||||
|
Reference in New Issue
Block a user