Add cache control headers.
This commit is contained in:
parent
3923be76fb
commit
e5fa624aab
@ -10,3 +10,7 @@ add_header X-Content-Type-Options "nosniff" always;
|
||||
# Disallow the site to be rendered within a frame (clickjacking
|
||||
# protection)
|
||||
add_header X-Frame-Options "DENY" always;
|
||||
|
||||
# Surrogate Control sets CDN caching behavior.
|
||||
add_header Surrogate-Control "public, max-age=86400";
|
||||
add_header Cache-Control "public, max-age=120";
|
||||
|
Loading…
x
Reference in New Issue
Block a user