Wisdom of gzipping web pages

R

Roedy Green

What are your thoughts on the wisdom of gzipping web pages to be
served to the general public to view with a browser?

Does it buy you much in speed?
What percent of browsers support it?

Any non-obvious advantages/disadvantages?
 
D

Daniel Pitts

Roedy said:
What are your thoughts on the wisdom of gzipping web pages to be
served to the general public to view with a browser?

Does it buy you much in speed?
What percent of browsers support it?

Any non-obvious advantages/disadvantages?
CPU time vs bandwidth is the main trade-off. In the general case, I
wouldn't worry about it (and would probably leave it off). For
high-scale systems, it depends on the average size of your documents,
your server CPU power, your bandwidth, and your average users bandwidth.
With so many factors that can tip the scale one way or another, it
takes an in-depth cost/benefit analysis to decide.
 
K

Kevin McMurtrie

Roedy Green said:
What are your thoughts on the wisdom of gzipping web pages to be
served to the general public to view with a browser?

Does it buy you much in speed?
What percent of browsers support it?

Any non-obvious advantages/disadvantages?

It can help if your pages must have lots of froufrou on them. Chunked
encoding, Keep-Alive, and Cookie scoping are worth looking up too.
 
N

Neil Coffey

Peter said:
Personally, I didn't realize any browsers supported compressed streams
as HTTP responses, but I guess that's mainly just because I know so
little about the more esoteric details of HTTP. :)

In data I've collected from about 9,000 unique clients, 85% claim
to accept gzip encoding.

Neil
 
R

Roedy Green

In data I've collected from about 9,000 unique clients, 85% claim
to accept gzip encoding.

have you any idea what percent of visitors would have such an ancient
beast? or how you might characterise them?
 
A

Arne Vajhøj

Peter said:
Personally, I didn't realize any browsers supported compressed streams
as HTTP responses, but I guess that's mainly just because I know so
little about the more esoteric details of HTTP. :)

IE 4+, NS 4+, OP 5+ and all FF is said to support it.

Arne
 
A

Arne Vajhøj

Roedy said:
What are your thoughts on the wisdom of gzipping web pages to be
served to the general public to view with a browser?

Does it buy you much in speed?

It can save bandwidth. I do not have any numbers.

Note that uploading gzipped web pages is not very common.

The standard is to upload normal web pages and configure the
webserver to send the content gzipped if it believes the
browser understands it.

If you are talking web services hosted in a Java EE app server,
then the Apache in front of the app server usually have plenty of
CPU power to compress.
What percent of browsers support it?

Almost all. In the 99% area.

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,436
Messages
2,571,696
Members
48,796
Latest member
Greg L.
Top