Jun 6, 2010
Expires-Header aktivieren

Expires Header: Gives the date/time after which the response is considered stale
add following to your .htaccess file for enabling expire-header (expire apache module must be installed):
<IfModule mod_expires.c>
# turn on the module for this directory
ExpiresActive on
# set default
ExpiresDefault "access plus 24 hours"
# cache common graphics
ExpiresByType image/jpg "access plus 1 months"
ExpiresByType image/gif "access plus 1 months"
ExpiresByType image/jpeg "access plus 1 months"
ExpiresByType image/png "access plus 1 months"
# cache CSS
ExpiresByType text/css "access plus 1 months"
# cache other filetypes
ExpiresByType text/javascript "access plus 1 months"
ExpiresByType application/javascript "access plus 1 months"
ExpiresByType application/x-shockwave-flash "access plus 1 months"
</IfModule>
[via]
Gefällt Dir der Artikel?
Dann würde ich mich freuen, wenn Du ihn twitterst, likest oder plusst. Danke!





