Fix Cache-Control max-age syntax (#23583)

This commit is contained in:
uvjustin 2022-07-31 19:31:11 +08:00 committed by GitHub
parent b93f5937cf
commit 9d385b44bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: Content-Security-Policy: form-action https:
Feature-Policy: geolocation 'none'; midi 'none'; microphone 'none'; camera 'none'; magnetometer 'none'; gyroscope 'none'; payment 'none' 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=() Permissions-Policy: geolocation=(), midi=(), microphone=(), camera=(), magnetometer=(), gyroscope=(), payment=()
@ -7,14 +7,14 @@
X-Content-Type-Options: nosniff X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block X-XSS-Protection: 1; mode=block
/*.css /*.css
Cache-Control: public, max-age: 604800, s-maxage=604800 Cache-Control: public, max-age=604800, s-maxage=604800
/*.js /*.js
Cache-Control: public, max-age: 604800, s-maxage=604800 Cache-Control: public, max-age=604800, s-maxage=604800
/assets/* /assets/*
Cache-Control: public, max-age: 0, s-maxage=604800, must-revalidate Cache-Control: public, max-age=0, s-maxage=604800, must-revalidate
/fonts/* /fonts/*
Cache-Control: public, max-age: 1800, s-maxage=604800, must-revalidate Cache-Control: public, max-age=1800, s-maxage=604800, must-revalidate
/images/* /images/*
Cache-Control: public, max-age: 1800, s-maxage=604800, must-revalidate Cache-Control: public, max-age=1800, s-maxage=604800, must-revalidate
/static/* /static/*
Cache-Control: public, max-age: 1800, s-maxage=604800, must-revalidate Cache-Control: public, max-age=1800, s-maxage=604800, must-revalidate