Title |
gzip web page compression |
Message Text |
You can make your page more then 2x fast if you only write a single line of code.
I didn`t believe my eyes as I first saw the effect.
It`s look like magic but it isn`t.
All you have to do is to write the following in your .htaccess :
php_value output_handler ob_gzhandler
Thanks to Paul and his powerfull WSN Links script there is an easy way to do this.
Just write this line into
"Other .htaccess content:
If you want anything else in your .htaccess, write it here and it'll be placed near the top."
You find this option in the admin panel under "Settings/SEO".
The explanation for this astounding effect is real simple:
All the modern browsers can handle the gzip compression but it is OFF on default.
You told the browsers with this code line that they should use the compression.
So the page is first compressed on the server, then transfered over the net and then the browser decompress it.
One can examine if the gzip-compression works on the following page:
http://www.gidnetwork.com/tools/gzip-test.php
This page told me that my page has a size of 23,709kb uncompressed and with compression ON there are only 4,941kb which are transfered over the net.
The google home page per example is a compressed page too.
I hear at first about gzip compression as YSlow give me this tip:
https://addons.mozilla.org/de/firefox/addon/5369/
(a firefox extension to analyze your page loading)
And here is my feature suggestion:
Isn`t it a nice idea if this simple way to accelerate your web page is ON in default in WSN Links? |
Rating |
0/5 based on 0 votes.
|
Ownership |
Daniel |
Views |
295 views. Averaging 0 views per day. |
Similar Topics |
|
Submission Date |
Aug 25, 2010 - 3:53 PM |