mirror of https://gitlab.com/curben/blog
feat: enable cache
* https://nullsweep.com/http-security-headers-a-complete-guide/ * https://codewithhugo.com/enable-cdn-netlify/
This commit is contained in:
parent
a5878e86f1
commit
b53dda5771
|
@ -7,3 +7,19 @@
|
||||||
Referrer-Policy: no-referrer
|
Referrer-Policy: no-referrer
|
||||||
Strict-Transport-Security: max-age=31536000
|
Strict-Transport-Security: max-age=31536000
|
||||||
Feature-Policy: accelerometer 'none'; autoplay 'none'; camera 'none'; document.domain 'none'; display-capture 'none'; encrypted-media 'none'; geolocation 'none'; gyroscope 'none'; magnetometer 'none'; microphone 'none'; midi 'none'; payment 'none'; sync-xhr 'none'; usb 'none'
|
Feature-Policy: accelerometer 'none'; autoplay 'none'; camera 'none'; document.domain 'none'; display-capture 'none'; encrypted-media 'none'; geolocation 'none'; gyroscope 'none'; magnetometer 'none'; microphone 'none'; midi 'none'; payment 'none'; sync-xhr 'none'; usb 'none'
|
||||||
|
Expires: 0
|
||||||
|
|
||||||
|
/*.html
|
||||||
|
Cache-Control: max-age=86400, public
|
||||||
|
/*.css
|
||||||
|
Cache-Control: max-age=604800, public
|
||||||
|
/*.js
|
||||||
|
Cache-Control: max-age=604800, public
|
||||||
|
/*.ico
|
||||||
|
Cache-Control: max-age=604800, public
|
||||||
|
/*.png
|
||||||
|
Cache-Control: max-age=604800, public
|
||||||
|
/*.webp
|
||||||
|
Cache-Control: max-age=604800, public
|
||||||
|
/*.jpg
|
||||||
|
Cache-Control: max-age=604800, public
|
||||||
|
|
Loading…
Reference in New Issue