website

Personal website
git clone https://github.com/michaelneuper/website.git
README | Files | Log | Refs

commit 8927f3bff2afc83f71cabdb9406026cb399c7c61
parent 56fba85cc553d6ea1247e75b5c2346cc82d97b2c
Author: Michael Neuper <michael@michaelneuper.com>
Date:   Fri,  3 Nov 2023 17:06:19 +0200

Cache .woff files

Diffstat:
Mnetlify.toml | 13+++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/netlify.toml b/netlify.toml @@ -14,6 +14,12 @@ command = """\ """ [[headers]] +for = "/*" + [headers.values] + Cache-Control = "max-age=3600" + X-Content-Type-Options = "nosniff" + +[[headers]] for = "/*.css" [headers.values] Cache-Control = "max-age=31536000" @@ -44,8 +50,6 @@ for = "/*.gif" Cache-Control = "max-age=604800" [[headers]] -for = "/*" +for = "/*.woff" [headers.values] - Cache-Control = "max-age=3600" - X-Content-Type-Options = "nosniff" -# Content-Encoding = "gzip" + Cache-Control = "public, max-age=31536000" +\ No newline at end of file