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:
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user