commit ac7b306d030dcc59ec9ef75206a61019ea7f4238
parent 8927f3bff2afc83f71cabdb9406026cb399c7c61
Author: Michael Neuper <michael@michaelneuper.com>
Date: Fri, 3 Nov 2023 17:13:35 +0200
Cache svg files
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/netlify.toml b/netlify.toml
@@ -50,6 +50,11 @@ for = "/*.gif"
Cache-Control = "max-age=604800"
[[headers]]
+for = "/*.svg"
+ [headers.values]
+ Cache-Control = "max-age=604800"
+
+[[headers]]
for = "/*.woff"
[headers.values]
Cache-Control = "public, max-age=31536000"
\ No newline at end of file