From 9d385b44bc6665905701352f5ea5a976da055c15 Mon Sep 17 00:00:00 2001 From: uvjustin <46082645+uvjustin@users.noreply.github.com> Date: Sun, 31 Jul 2022 19:31:11 +0800 Subject: [PATCH] Fix Cache-Control max-age syntax (#23583) --- source/_headers | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/source/_headers b/source/_headers index d33567d39d7..b1d6e467a2a 100644 --- a/source/_headers +++ b/source/_headers @@ -1,5 +1,5 @@ /* - Cache-Control: public, max-age: 0, s-maxage=3600, must-revalidate + Cache-Control: public, max-age=0, s-maxage=3600, must-revalidate Content-Security-Policy: form-action https: Feature-Policy: geolocation 'none'; midi 'none'; microphone 'none'; camera 'none'; magnetometer 'none'; gyroscope 'none'; payment 'none' Permissions-Policy: geolocation=(), midi=(), microphone=(), camera=(), magnetometer=(), gyroscope=(), payment=() @@ -7,14 +7,14 @@ X-Content-Type-Options: nosniff X-XSS-Protection: 1; mode=block /*.css - Cache-Control: public, max-age: 604800, s-maxage=604800 + Cache-Control: public, max-age=604800, s-maxage=604800 /*.js - Cache-Control: public, max-age: 604800, s-maxage=604800 + Cache-Control: public, max-age=604800, s-maxage=604800 /assets/* - Cache-Control: public, max-age: 0, s-maxage=604800, must-revalidate + Cache-Control: public, max-age=0, s-maxage=604800, must-revalidate /fonts/* - Cache-Control: public, max-age: 1800, s-maxage=604800, must-revalidate + Cache-Control: public, max-age=1800, s-maxage=604800, must-revalidate /images/* - Cache-Control: public, max-age: 1800, s-maxage=604800, must-revalidate + Cache-Control: public, max-age=1800, s-maxage=604800, must-revalidate /static/* - Cache-Control: public, max-age: 1800, s-maxage=604800, must-revalidate + Cache-Control: public, max-age=1800, s-maxage=604800, must-revalidate