From c5d70ac784a3374eb42fc6d8d36a896ada587002 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 31 May 2024 18:49:29 +0200 Subject: add caching headers for netlify and vercel --- vercel.json | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vercel.json') 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" } ] } -- cgit 1.4.1