From 5e0593b9b4cdf0dbdf1d57320cead9b2c4f027fd Mon Sep 17 00:00:00 2001 From: ThatGamerBlue Date: Fri, 27 Mar 2020 23:35:55 +0000 Subject: [PATCH] fix downloads cache --- netlify.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/netlify.toml b/netlify.toml index 82fcb286e..238c93709 100644 --- a/netlify.toml +++ b/netlify.toml @@ -7,3 +7,11 @@ Referrer-Policy = "strict-origin-when-cross-origin" Strict-Transport-Security = "max-age=2592000" Feature-Policy = "vibrate 'none'; geolocation 'none'; midi 'none'; notifications 'none'; push 'none'; sync-xhr 'none'; microphone 'none'; camera 'none'; magnetometer 'none'; gyroscope 'none'; speaker 'none'; vibrate 'none'; fullscreen 'none'; payment 'none'" +[[headers]] + for = "/downloads" + [headers.values] + cache-control = ''' + max-age=0, + no-cache, + no-store, + must-revalidate'''