From e56b09d4000d77fa523d42837b1e903f7e831bab Mon Sep 17 00:00:00 2001 From: Eric Fennis Date: Sat, 13 Jan 2024 15:32:18 +0100 Subject: [PATCH] Add cache header site assets (#1801) --- docs/vercel.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/vercel.json b/docs/vercel.json index d9fc5199f..e66c75a80 100644 --- a/docs/vercel.json +++ b/docs/vercel.json @@ -35,5 +35,16 @@ "destination": "/icons", "permanent": false } + ], + "headers": [ + { + "source": "/assets/:path*", + "headers": [ + { + "key": "Cache-Control", + "value": "cache-control: public, max-age=31536000, immutable" + } + ] + } ] }