|
|
setting expire header in htaccess - Apache
|
Views : 438
|
|
Tagged in : Apache
|
|
|
Report This Scrap as Inappropriate We request you to choose the appropriate categroy and subcategory that suits your
objectionable concern about the scrap, So that our team can review and find out whether it violates our Guidelines or the
scrap is not suitable for all viewers.
|
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> |
|
By gowtham, On - 2010-09-17 |
|
|
|