The two modules namely “mod_expires” and “mod_headers” has been enabled in the server, you can increase the access speed of your website by using following code in in your .htaccess. How to Increase Speed of the site using .htaccess Cache lets go
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
# BEGIN Compress text files
<filesMatch “.(css|js|x?html?|php)$”>
SetOutputFilter DEFLATE
# END Compress text files
# BEGIN Expire headers
ExpiresActive On
ExpiresDefault “access plus 1 seconds”
ExpiresByType image/x-icon “access plus 2592000 seconds”
ExpiresByType image/jpeg “access plus 2592000 seconds”
ExpiresByType image/png “access plus 2592000 seconds”
ExpiresByType image/gif “access plus 2592000 seconds”
ExpiresByType application/x-shockwave-flash “access plus 2592000 seconds”
ExpiresByType text/css “access plus 604800 seconds”
ExpiresByType text/javascript “access plus 216000 seconds”
ExpiresByType application/javascript “access plus 216000 seconds”
ExpiresByType application/x-javascript “access plus 216000 seconds”
ExpiresByType text/html “access plus 600 seconds”
ExpiresByType application/xhtml+xml “access plus 600 seconds”
# END Expire headers
# BEGIN Cache-Control Headers
<filesMatch “.(ico|jpe?g|png|gif|swf)$”>
Header set Cache-Control “max-age=2592000, public”
<filesMatch “.(css)$”>
Header set Cache-Control “max-age=604800, public”
<filesMatch “.(js)$”>
Header set Cache-Control “max-age=216000, private”
<filesMatch “.(x?html?|php)$”>
Header set Cache-Control “max-age=600, private, must-revalidate”
# END Cache-Control Headers
# BEGIN Turn ETags Off
Header unset ETag
FileETag None
# END Turn ETags Off
# BEGIN Remove Last-Modified Header
Header unset Last-Modified
# END Remove Last-Modified Header
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$