subject: How to Speed Up Your Website [print this page] Welcome back dear visitorsWelcome back dear visitors. Wait for most awaited article ends now. We are demonstrating here the best available method for gearing up your website that is rock solid. Our guide is for the websites that are hosted on Apache server. We are taking advantage of Apache 2.0 and going to use server based optimisation for our web site instead of any plug-in or script available in market. But before starting our work, we need to analyze our web site. Open the following URL http://www.websiteoptimization.com/services/analyze/ and enter your website address in Enter URL to Diagnose text field and hit enter. New screen will welcome you; enter the CAPTCHA keywords and wait for detailed analysis of your site. In analysis result page you will find a lot of information under Diagnosis heading. Check the total size of your web site and the Download times. Dont close or change this page, we will use it to compare the results.
Apache 2.0 has great improvement and has introduced some new modules and improved. To speed up our websites, hosted on Apache 2.0.x, we have two approaches. Deflate Approach
Gzip Approach. Detailed information about them is available on web so without going in complexity and detail, I will explain both in simple words. Deflate is the raw compression method, no fileinformation, header, file size and checksum is given in deflate based compression. While Gzip is the combination of deflate and all other information that are missing in deflate. Remember, Deflate is faster than Gzip. Detailed information is available here. mod_deflate.c is the core module working behind the scene for deflate type of compression. Lets start our project. Open your FTP client software and download the file .htaccess file from root of website i.e /public_html/.
After downloading file, open it in your faviourate editor. You will see some coding, dont edit them, just add the following code to the file. # BEGIN Compress text files