KIO
Kreative Ideen online
Browser caching aktivieren in .htaccess

Browser caching aktivieren in .htaccess

Jeder Browser cached von per default.

Browser caching lasst sich per Hand aktivieren 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"
</ifmodule>

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert