the following lines to ss file: # Compress HTML, CSS, JavaScript, Text, XML and fonts AddOutputFilterByType DEFLATE. You can use the mod_deflate module to compress output from your web site that is sent AddOutputFilterByType DEFLATE text/text. @Deyvi,. Could you please share the information about the error? Apache version? The article was verified and no errors with apache were.

Author: Tagar Daira
Country: Republic of Macedonia
Language: English (Spanish)
Genre: Health and Food
Published (Last): 13 March 2011
Pages: 73
PDF File Size: 1.58 Mb
ePub File Size: 10.10 Mb
ISBN: 449-2-95057-696-7
Downloads: 73767
Price: Free* [*Free Regsitration Required]
Uploader: Digul

Write your web addoututfilterbytype content to make compression most effective To ensure that your content compresses well, do the following: Google and Yahoo use gzip compression.

This is almost like building your own webserver what fun! Nickname do not fill out. If we could send a.

About The Site BetterExplained helps k monthly readers with friendly, insightful math lessons more. The Flash preloader doesn’t handle compressed Flash files.

If you’ve enabled compression and things break, try disabling compression on your Flash files. Use consistent quoting for HTML tag attributes, i.

You can actually enable gzip in the control panel of WordPress: The HTML portion of the yahoo home page goes from kb to 15kb after compression:. The server sends a response if the content is actually compressed: This compressed file is then served to the browser of the user which in turn decompresses it automatically to load the full original file in the browser again. Open up IIS Manager 2. When a request is made by a browser for a page from your site your webserver returns the smaller compressed file if the browser indicates that it understands the compression.


Use consistent casing, i. The result is shorter loading times for your website.

Enabling Gzip Compression (mod_deflate)

Specify CSS key-value pairs in the same order where possible, i. So should you be compressing your resources with gzip or deflate?

All modern browsers reflate and accept compressed files. Step 2 Open the. Gzip compresses your webpages and style sheets before sending them over to the browser. To test gzip compression: The Website-Checker helps you to optimize your website and also gives you information about whether gzip compression is actually active.

How to enable gzip compression.

Enable gzip compression | GTmetrix

It either sends the Accept-encoding: To enable gzip compression: Gzip compression won’t work for images, PDF’s and other binary formats which are already compressed. Click on Compression under IIS 4. Most of my traffic comes from modern browsers, and quite frankly, most of my users are fairly tech-savvy. The HTML portion of the yahoo home page goes from kb to 15kb after compression: Add the Apache lines of code to the vhosts.


Enable gzip compression Overview Reduce the size of files sent from your server to increase the speed to which they are transferred to the browser. Most images, music and videos are already compressed. When possible, you should always use the. Hey, can I GET index. Related YSlow Recommendations Compress components with gzip.

Gzip locates similar strings within a text file and replaces those strings temporarily to make the overall file size smaller. This means that it takes less time to load your pages, and less bandwidth is used over all.

Our job is to configure the server so it returns zipped content if the browser can handle it, saving bandwidth for everyone and giving us a happy user. This means going to the file manager or wherever you go to add or upload files on your webhost.