Expire policy for images.

This commit is contained in:
daniel 2016-09-10 09:51:10 +02:00
parent afa8f6e2d6
commit 8800d644c8
1 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
Header set Content-Security-Policy "default-src *; script-src 'self' ajax.googleapis.com code.jquery.com; style-src 'self'" # http://serverfault.com/a/100340
Header set Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" AddType image/x-icon .ico
# Header set X-Frame-Options "sameorigin" ExpiresActive On
Header set X-XSS-Protection "1; mode=block" ExpiresByType image/x-icon "access plus 1 month"
Header set X-Content-Type-Options "nosniff" ExpiresByType image/png "access plus 1 month"