Thursday, February 27, 2014

Speedup your Wordpress/Magento/Joomla/PHP site using .htaccess



How .htaccess file helps your website ?

This is the file located in root of your website. Which tells browsers for various rules. One of the common use is Cache control. In which we define rules and it tells same to browsers to cache media files as defined.


How to use cache control using .htaccess ?

1. Log on to your web server using any FTP program.
2. Find .htaccess in your website's root. (If it's not there make a new one.)
3. Edit it and add below code at the end of the file.


In this code you can modify how long you want to cache that files in your users browsers.

don't hesitate to ask your questions in comments below.

Enjoy...!!!

(via LimeCanvas)



Related Posts Plugin for WordPress, Blogger...