Expire policy for images.
This commit is contained in:
parent
afa8f6e2d6
commit
8800d644c8
10
.htaccess
10
.htaccess
@ -1,5 +1,5 @@
|
||||
Header set Content-Security-Policy "default-src *; script-src 'self' ajax.googleapis.com code.jquery.com; style-src 'self'"
|
||||
Header set Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
|
||||
# Header set X-Frame-Options "sameorigin"
|
||||
Header set X-XSS-Protection "1; mode=block"
|
||||
Header set X-Content-Type-Options "nosniff"
|
||||
# http://serverfault.com/a/100340
|
||||
AddType image/x-icon .ico
|
||||
ExpiresActive On
|
||||
ExpiresByType image/x-icon "access plus 1 month"
|
||||
ExpiresByType image/png "access plus 1 month"
|
||||
|
Loading…
Reference in New Issue
Block a user