How to speed up your site using .htaccess

You can speed up the site by enabling file caching

General Format

<FilesMatch “.(Extenstion of the file to be cached)$”>
	Header set Cache-Control “max-age=cache time″
</FilesMatch>

Example

<FilesMatch “.(html|htm)$”>
	Header set Cache-Control “max-age=43200″
</FilesMatch

Leave a Reply

Your email address will not be published. Required fields are marked *