about summary refs log tree commit diff stats
path: root/vercel.json
diff options
context:
space:
mode:
authorAlan Pearce2024-05-31 18:49:29 +0200
committerAlan Pearce2024-06-01 19:38:22 +0200
commitc5d70ac784a3374eb42fc6d8d36a896ada587002 (patch)
tree715e73bdc2735ab880b35900e9c0459677e45378 /vercel.json
parent39f7b2de1982d93da413a740fe56eaed404960c9 (diff)
downloadzola-bearblog-c5d70ac784a3374eb42fc6d8d36a896ada587002.tar.lz
zola-bearblog-c5d70ac784a3374eb42fc6d8d36a896ada587002.tar.zst
zola-bearblog-c5d70ac784a3374eb42fc6d8d36a896ada587002.zip
add caching headers for netlify and vercel
Diffstat (limited to 'vercel.json')
-rw-r--r--vercel.json4
1 files changed, 4 insertions, 0 deletions
diff --git a/vercel.json b/vercel.json
index 071f918..c23d334 100644
--- a/vercel.json
+++ b/vercel.json
@@ -35,6 +35,10 @@
         {
           "key": "Content-Security-Policy",
           "value": "default-src 'none'; img-src 'self'; object-src 'none'; script-src 'none'; style-src 'sha256-p5EfRIhWJi7Zh7WJil3mpIVCZvcu+zebWbMe6B0so8A='; form-action 'none'; base-uri 'self'; frame-ancestors 'none'"
+        },
+        {
+          "key": "Cache-Control",
+          "value": "max-age=300, s-maxage=86400, state-while-revalidate"
         }
       ]
     }