mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Fix Cache-Control max-age syntax (#23583)
This commit is contained in:
parent
b93f5937cf
commit
9d385b44bc
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user