From 7535cbfd91028f647fd62eb8002dc3abc2a6b22a Mon Sep 17 00:00:00 2001 From: Kentaro Hayashi Date: Mon, 10 Aug 2026 17:11:47 +0900 Subject: [PATCH] 1.0: add missing cache control for search index /search_plus_index.json /1.0/search_plus_index.json /0.12/search_plus_index.json Signed-off-by: Kentaro Hayashi --- netlify.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/netlify.toml b/netlify.toml index 94d2152f..714ff218 100644 --- a/netlify.toml +++ b/netlify.toml @@ -78,3 +78,9 @@ for = "/0.12/styles/*" [headers.values] Cache-Control = "public, max-age=86400" + +# Cache search index, it cover 1.0,0.12 too +[[headers]] + for = "/*.json" + [headers.values] + Cache-Control = "public, max-age=3600"