From bb673dac294f20831fcdf526271c5153dab3d53a Mon Sep 17 00:00:00 2001 From: Raul Hernandez Date: Fri, 28 Jun 2019 11:48:37 -0400 Subject: [PATCH] fix: header cache control --- netlify.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/netlify.toml b/netlify.toml index 267319f..8ae09cf 100644 --- a/netlify.toml +++ b/netlify.toml @@ -2,3 +2,15 @@ base = "/" publish = "dist" command = "npm run build" + +[[headers]] + for = "/*" + [headers.values] + X-Frame-Options = "DENY" + X-XSS-Protection = "1; mode=block" + + cache-control = ''' + max-age=0, + no-cache, + no-store, + must-revalidate'''