KIO
Kreative Ideen online
Enable browser caching in .htaccess

Enable browser caching in .htaccess

Each browser cached by per default.

Browser caching can be activated by hand in ".htaccess"

<ifmoduel mod_expires.c>
ExpresActive On
AddType application/x-font-opentype .otf
AddType Image/svg+xml .svg

ExpiresByType image/jpg "access 1 week"
ExpiresByType image/jepeg "access 1 month"
ExpiresByType image/gif "access 1 month"
ExpiresByType image/png "access 1 week"
ExpiresByType text/css "access 1 week"
ExpresByType application/pdf "access 1 month"
ExpiresByType application/javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 1 week"
ExpiresByType application/x-font-opentype "access plus 1 year"
ExpiresByType image/svg+xml "access plus 1 year"

Leave a Reply

Your email address will not be published. Required fields are marked *