WebPagetest Forums
To GZIP or not to GZIP - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Optimization Discussions (/forumdisplay.php?fid=5)
+--- Thread: To GZIP or not to GZIP (/showthread.php?tid=503)

Pages: 1 2


To GZIP or not to GZIP - Geebee - 01-23-2011 04:06 AM

Hi all, we did a lot of performance rules, with great results. One thing we should still do is GZIP for html, css, js and other text files.

But about this subject we have a discussion. Is GZIP also usefull on high bandwidth connections? I know that GZIP takes CPU-time. Some people say that nowadays compressing content is not always smart, because of better connection speeds.

Any thoughts on the subject? Should we hesitate to deploy GZIP (apart from the fact that our caching layer has problems to use gzip...:-(


RE: To GZIP or not to GZIP - pmeenan - 01-23-2011 04:41 AM

Yes, GZIP is still very useful, even on infinite bandwidth connections. The way TCP works, it takes a few round trips to ramp up (particularly early in a connection) so anything you can do to reduce the amount of data you have to deliver ensures that you get more delivered sooner.


RE: To GZIP or not to GZIP - Spletnapot - 02-18-2011 04:01 AM

Generally its a good idea to gzip resource files. I remember google chrome had an extension Speed Tracer, that was able to monitor what amount of time browser spends on specific things.
Perhaps you should give something like that a try and check the results, as the server can gzip content with a click or two.


RE: To GZIP or not to GZIP - Geebee - 02-19-2011 06:57 AM

I would love to activate Gzip 'with a click or two'. Problem is we use Squid on a multi-server platform. And activating Gzip with Squid is not easily possible. We have done almost all performance stuff front- and backend, only thing left is GZIP... :-(.

So anyone with pointers to Squid and Gzip... tell me :-). (and I already know the usual URLs for this...)


RE: To GZIP or not to GZIP - pmeenan - 02-19-2011 07:21 AM

Run Nginx or Apache Traffic Server as a reverse-proxy in front of squid (seems to defeat the purpose of using dquid but I assume you're doing more than just proxying with it)?


RE: To GZIP or not to GZIP - Geebee - 02-19-2011 07:46 AM

Patrick, thanks for the pointer. I am not a real techie....will forward this info. As far as I know we do use Squid only for proxying...


RE: To GZIP or not to GZIP - pmeenan - 02-19-2011 12:08 PM

If you're only using it as a caching proxy in front of the web servers there are a lot of better options. Off the top of my head (in no particular order):

Varnish
Apache with mod_proxy
Apache Traffic Server
Nginx

I'm pretty sure most of them also perform better than Squid and you can configure them for load balancing and automatically removing dead servers from rotation, etc.


RE: To GZIP or not to GZIP - Geebee - 02-19-2011 08:17 PM

We are indeed also looking at other options, thanks for the pointers!


RE: To GZIP or not to GZIP - Sascha88 - 08-12-2011 04:47 PM

hello! thanks)you help me to improve my website
but how to configure CDN W3 Total Cache Use FTP Self Hosted?


RE: To GZIP or not to GZIP - pmeenan - 08-12-2011 10:44 PM

Sorry, I don't understand the question (what is FTP Self Hosted?).