1
bjuti
GZip compression?
  • 2010/2/20 0:30

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


In XOOPS prefs there is option to turn on GZip compression? Does it works? Is it recomended, coz I can't see any difference?

2
Burning
Re: GZip compression?
  • 2010/2/20 0:47

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

I'm not a MySQL specialist but I think this option makes your website faster. But it may cause troubles with some modules (never seen) or wysiwyg editor (FCKEditor if I'm not wrong).

But, lets Ghia explain it with more precison or search with Google

3
ghia
Re: GZip compression?
  • 2010/2/20 1:45

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Quote:
coz I can't see any difference?
If you could, it was not working properly!

What does it?
Before sending the HTML source of your page from the server to your browser, it is being compressed with ZIP. This allows that shorter messages are sent over the network. Your browser unzips it and then shows it in the same way as it would have received the page in full (=uncompressed).
There is an advantage for slow and/or limited bandwidth networks, as in the case of eg home servers via an ADSL network.
On the other hand the server needs to put the processor at work to do the compression and your navigator does the same on your PC to uncompress.
So, it is not so easy to see the avantage on individual page loads, but in particular, well suited cases, there is a substantial overal benefit.

It has nothing to do with MySQL. But it will not activate or run when running PHP as CLI.

4
Burning
Re: GZip compression?
  • 2010/2/20 2:31

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

Thanks for very clear explanations

5
Marco
Re: GZip compression?
  • 2010/2/20 6:44

  • Marco

  • Home away from home

  • Posts: 1256

  • Since: 2004/3/15


fyi deflate method is a better method of compression, much quicker


http://www.webpronews.com/expertarticles/2006/12/08/gzip-vs-deflate-compression-and-performance
http://www.stardeveloper.com/articles/display.html?article=2008111201&page=1
http://betterexplained.com/articles/how-to-optimize-your-site-with-gzip-compression/

on apache web servers
http://stackoverflow.com/questions/388595/why-use-deflate-instead-of-gzip-for-text-files-served-by-apache
http://httpd.apache.org/docs/2.0/mod/mod_deflate.html
http://www.orangecoat.com/smaller-and-faster-web-pages-with-gzip-deflate-and-apache

e.g. Gzip could be considered as a deprecated method, but it's worth to still use it by testing the content type
http://forums.devshed.com/apache-development-15/gzip-deflate-based-on-content-type-browser-446938.html

6
bjuti
Re: GZip compression?
  • 2010/2/20 9:48

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Thnx guys. I knew what it does, and for what it stands, I just didn't saw any speed progress. I'm gonna turn it on for a while to see what is like. :)

7
Marco
Re: GZip compression?
  • 2010/2/20 11:27

  • Marco

  • Home away from home

  • Posts: 1256

  • Since: 2004/3/15


Quote:

coz I can't see any difference?

yep, me too,you'll find, in the given url, links to online testing tools, to check if the gzip works on your pages or not
marco

8
bjuti
Re: GZip compression?
  • 2010/2/20 14:28

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


You're right:

Quote:
Web page compressed? Yes
Compression type? gzip
Size, Markup (bytes) 126,174
Size, Compressed (bytes) 22,680
Compression % 82.0

9
Marco
Re: GZip compression?
  • 2010/2/20 15:53

  • Marco

  • Home away from home

  • Posts: 1256

  • Since: 2004/3/15


yes, it seems it works for you
perhaps can you put the testing url in this post
marco

Login

Who's Online

210 user(s) are online (108 user(s) are browsing Support Forums)


Members: 0


Guests: 210


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits