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: Neshicage Nikotaxe
Country: Laos
Language: English (Spanish)
Genre: Medical
Published (Last): 26 August 2005
Pages: 66
PDF File Size: 4.52 Mb
ePub File Size: 20.59 Mb
ISBN: 974-5-24091-812-9
Downloads: 57693
Price: Free* [*Free Regsitration Required]
Uploader: Kirr

If you’ve enabled compression and things break, try disabling compression on your Flash files.

Using CPU cycles for a faster user experience is well worth it, given the short attention spans on the web. Insert the following code at the end.

Compressing content on-the-fly uses CPU time and saves bandwidth. Not every host has these modules enabled on their servers, so make sure you ask your host about this when the below.

Be prepared to marvel at the results. If this still doesn’t work you’ll need to contact your hosting provider. To test gzip compression: When a browser visits a webserver it checks to see if the server has gzip enabled and requests the webpage.

The instructions and code above will work on Apache. In Apache, enabling output compression is fairly straightforward.

Enable Gzip compression for your website

If you are not familiar with the. 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.


Gzip is actually a fairly simple idea that is extremely powerful when put to good use. The HTML portion of the yahoo home page goes from kb to 15kb after compression:. In terms of cost versus benefit, gzip compression addohtputfilterbytype be near the top of your page speed optimizations if you don’t have it setup already. Use the online gzip test to check whether your page is compressed.

How To Optimize Your Site With GZIP Compression

Sign up today and get a suite of features and options to make optimizing your website speed clear and easy! The browser-server conversation might look like this: Open up IIS Manager 2. Test your URL You can use the online gzip compression test below or our website speed test to check whether gzip is enabled on your website and what the gzip compression rate is: Usually this is a great tradeoff given the speed of compression. The conversation goes a little like this: I agree to the Terms of Service and Privacy Policy.

Add the following to your. CLICK to learn more. This is almost like building your own webserver what fun! This means going to the file manager or wherever you go to add or upload files on your addoutputfilteerbytype.


If they are not working there is another way that may work for you. Related YSlow Recommendations Compress components with gzip. Click on the site you want to enable compression for 3. Before we start I should explain what content encoding is. Gzip locates similar strings within a text file and replaces those strings temporarily to make the overall file size smaller. Send Password Acdoutputfilterbytype password reset link has been e-mailed to you. For IIS, enable compression in the settings.

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.

How to enable compression and gzip for page speed.

There are different methods of setting up gzip compression depending on whether or not you’ve got an IIS or Apache server or something else entirely.

Also consider using the page speed tool which will test compression and many other factors. If you are not using it for some reason, your webpages are likely slower than your competitors.