grgr.me

latest commits to https://grgr.me/
Log | Files | Refs

commit 9dd57dfb894f1deb192d01845d872f543b307594
parent 00f78dc95a5b2e6d4a7953b1c92d0856398001ab
Author: corndog <cauchyn@firemail.cc>
Date:   Sun,  6 Jan 2019 14:33:29 -0800

Add caching (one day)

It appears there's no easy way to configure Caddy
to change header by filetype otherwise I would
cache images more aggressively.

Diffstat:
Caddyfile | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/Caddyfile b/Caddyfile @@ -2,6 +2,7 @@ import caddy/redirects (header) { header / { + Cache-Control "max-age=86400" Content-Security-Policy "default-src 'self' https: 'unsafe-eval' 'unsafe-inline'" Referrer-Policy "same-origin" X-Frame-Options "DENY"