setting expire header in htaccess

by gowtham 2010-09-17 11:34:16



In .htaccess file

#Expire headers
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/x-icon A2592000
ExpiresByType application/x-javascript A2592000
ExpiresByType text/css A2592000
ExpiresByType image/ico A2592000
ExpiresByType text/htc A2592000
ExpiresByType image/gif A2592000
ExpiresByType image/png A2592000
ExpiresByType image/jpeg A2592000
ExpiresByType text/plain A2592000
ExpiresByType text/js A2592000
ExpiresByType application/x-shockwave-flash A2592000
ExpiresByType video/x-flv A2592000
ExpiresByType application/pdf A2592000
ExpiresByType text/html A2592000
</IfModule>

Tagged in:

1053
like
0
dislike
0
mail
flag

You must LOGIN to add comments