X-Git-Url: https://git.ladys.computer/x_status_git/blobdiff_plain/6b8de961c3f0e23435afe54d072951d9dd007f79..3b743898578b26b6a835c3e012eccccd6ea665f2:/Caddyfile?ds=sidebyside diff --git a/Caddyfile b/Caddyfile index a430aae..95fed0e 100644 --- a/Caddyfile +++ b/Caddyfile @@ -36,6 +36,7 @@ status.site.example { handle @iri { handle @bare { rewrite * /.lookup.xhtml + header Cache-Control max-age=0 } handle @slash { @@ -152,7 +153,10 @@ status.site.example { } } - header Access-Control-Allow-Origin "*" + header { + Access-Control-Allow-Origin "*" + ?Cache-Control max-age=3600 + } file_server { index index.xml index.xhtml index.html index.rdf index.txt