From 89240e9127d91505e6778c7c6e9d44853f73748f Mon Sep 17 00:00:00 2001 From: Ze-Zheng Wu Date: Thu, 18 Apr 2024 12:02:06 +0800 Subject: [PATCH] chore: add `immutable` --- netlify.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/netlify.toml b/netlify.toml index 7f90cbf6a..fa8990d32 100644 --- a/netlify.toml +++ b/netlify.toml @@ -8,7 +8,8 @@ for = "/assets/*" # Multi-value headers are expressed with multi-line strings cache-control = ''' public, - max-age=31536000000 + max-age=31536000000, + immutable ''' [[headers]] @@ -17,5 +18,6 @@ for = "/_astro/*" # Multi-value headers are expressed with multi-line strings cache-control = ''' public, - max-age=31536000000 + max-age=31536000000, + immutable '''