Current time: 12-19-2017, 08:28 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
To GZIP or not to GZIP
01-23-2011, 04:06 AM
Post: #1
To GZIP or not to GZIP
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...:-(
Find all posts by this user
Quote this message in a reply
01-23-2011, 04:41 AM
Post: #2
RE: To GZIP or not to GZIP
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
02-18-2011, 04:01 AM
Post: #3
RE: To GZIP or not to GZIP
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.
Find all posts by this user
Quote this message in a reply
02-19-2011, 06:57 AM
Post: #4
RE: To GZIP or not to GZIP
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...)
Find all posts by this user
Quote this message in a reply
02-19-2011, 07:21 AM
Post: #5
RE: To GZIP or not to GZIP
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)?
Visit this user's website Find all posts by this user
Quote this message in a reply
02-19-2011, 07:46 AM
Post: #6
RE: To GZIP or not to GZIP
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...
Find all posts by this user
Quote this message in a reply
02-19-2011, 12:08 PM
Post: #7
RE: To GZIP or not to GZIP
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
02-19-2011, 08:17 PM
Post: #8
RE: To GZIP or not to GZIP
We are indeed also looking at other options, thanks for the pointers!
Find all posts by this user
Quote this message in a reply
08-12-2011, 04:47 PM
Post: #9
RE: To GZIP or not to GZIP
hello! thanks)you help me to improve my website
but how to configure CDN W3 Total Cache Use FTP Self Hosted?
Find all posts by this user
Quote this message in a reply
08-12-2011, 10:44 PM
Post: #10
RE: To GZIP or not to GZIP
Sorry, I don't understand the question (what is FTP Self Hosted?).
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)