]> Lady’s Gitweb - x_status_git/blobdiff - Caddyfile
Use titles in prev & next links on statuses
[x_status_git] / Caddyfile
index a430aae06c9d8691e330c11e48c60b98528645ba..95fed0ebb752326a97fed18094d2376987ea60b7 100644 (file)
--- 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
This page took 0.021135 seconds and 4 git commands to generate.