Reorder ???
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is passing Details

pull/1/head
mat ess 2022-10-21 00:40:42 -04:00
parent 0fe899d83a
commit 5873cf83bc
1 changed files with 26 additions and 26 deletions

View File

@ -12,32 +12,6 @@
to = "https://mat.services/:splat"
force = true
# per asset caching
[[headers]]
for = "/font/*"
[headers.values]
# a year
Cache-Control = "public, max-age=31536000"
[[headers]]
for = "/image/*"
[headers.values]
# a month
Cache-Control = "public, max-age=2592000"
[[headers]]
for = "/*.webp"
[headers.values]
# a month
Cache-Control = "public, max-age=2592000"
[[headers]]
for = "/style/*"
[headers.values]
# a week
Cache-Control = "public, max-age=604800"
[[headers]]
for = "/*"
@ -73,3 +47,29 @@
allow-popups
allow-popups-to-escape-sandbox
'''
# per asset caching
[[headers]]
for = "/font/*"
[headers.values]
# a year
Cache-Control = "public, max-age=31536000"
[[headers]]
for = "/image/*"
[headers.values]
# a month
Cache-Control = "public, max-age=2592000"
[[headers]]
for = "/*.webp"
[headers.values]
# a month
Cache-Control = "public, max-age=2592000"
[[headers]]
for = "/style/*"
[headers.values]
# a week
Cache-Control = "public, max-age=604800"