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:
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