Set Expire Header using httpd.conf

by Vinoth 2009-09-10 09:12:00

In order to to speed up your website performance we need to reduce the number of HTTP requests from client to server.
This can be done by setting expire header for images, javascripts, css file etc.
Here the code


ExpiresActive On
ExpiresByType image/gif A2592000
ExpiresByType image/png A2592000
ExpiresByType image/jpg A2592000
ExpiresByType image/jpeg A2592000
ExpiresByType application/x-javascript A2592000
ExpiresByType text/css A2592000

Tagged in:

2115
like
0
dislike
0
mail
flag

You must LOGIN to add comments