mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-27 18:50:29 -04:00
15 lines
429 B
Plaintext
15 lines
429 B
Plaintext
# Sensible default security headers:
|
|
/*
|
|
Referrer-Policy: strict-origin-when-cross-origin
|
|
X-Content-Type-Options: nosniff
|
|
X-Frame-Options: sameorigin
|
|
X-XSS-Protection: 1; mode=block
|
|
|
|
# Long cache (one week) for vendored and fingerprinted assets:
|
|
/css/*
|
|
Cache-Control: public, max-age=604800, immutable
|
|
/js/*
|
|
Cache-Control: public, max-age=604800, immutable
|
|
/vendor/*
|
|
Cache-Control: public, max-age=604800, immutable
|