Please note, new blog at http://www.acheron.org/darryl/

gzip compression and IE do not mix

We had a problem at work the other day where the CSS and HTML files were being returned from the server with no content. We restarted the development server, but the problem still persisted. ColdFusion templates were being returned, but the CSS files litterally had no content. So we fired up IE HTTP Analyzer, and the content was seen perfectly fine -- it was being retrieved from the server. However, the HTTP Analyzer was showing us that the files were being compressed. Someone had turned on gzip compression on the server. It turns out there is a bug with Internet Explorer that stops it from properly decompressing gzip compressed files. We turned off gzip compression on the server, and it all worked fine (of course, it worked in Mozilla/Firefox anyway). There has been a fix released by Microsoft addressing this, but we hadn't applied it at work (for whatever reason).

By Blogger jim, at 1/24/2006 12:13:00 am  

You fail to mention what version of IIS and IE you are using. HTTP compression is used by many many sites to conserve bandwidth and create a better user experience. If this were a widespread problem I'm sure it would have recieved media attention. I suspect that your IIS server is misconfigured. I have seen this happen before. Instructions for configuring your IIS server to enable compression are available at http://www.microsoft.com/technet/prodtechnol/windows2000serv/technologies/iis/maintain/featusability/httpcomp.mspx



By Blogger Darryl Lyons, at 1/24/2006 04:56:00 am  

Jim, it is a problem with certain versions of Internet Explorer - in our case IE 6.0 SP1. The server in question was using IIS 5.0.

Inspection of the HTTP packet showed that it was indeed compressed using gzip, and it worked fine in Mozilla. Perhaps it was misconfigured, but I would have expected all browsers to fail, not just IE.



By Blogger Darryl Lyons, at 1/24/2006 05:05:00 am  

Also.. A google search did show up some problems with IE and gzip compression (not http compression using other methods).

Anyway, I'll do some more investigation on the matter.



By Blogger jim, at 1/25/2006 08:45:00 am  

This post may be of use to you :
http://www.robgonda.com/blog/index.cfm/2005/12/30/cfhttp-and-gzip-compression
he mentions thay yahoo maps uses gzip compression so that would indicate that theres no fundamental problem with it..
this link in general may provide you with more information:
http://weblogs.macromedia.com/mxna/index.cfm?searchterms=gzip&query=bySimpleSearch&searchsortby=date



By Blogger Darryl Lyons, at 1/25/2006 06:58:00 pm  

Jim, although I am not trying to be difficult, I can't see why that post would be of relevance, except from the fact that he is saying the the site he was connecting to used gzip compression.... You are right, if it were a widespread problem, then we certainly would have heard about it by now. I'm suggesting that it is probably in *some* instances that this occurs. I'm not convinced that it was a misconfiguration given it worked perfectly in Mozilla and a HTTP sniffer. If it was a misconfiguration of IIS, then that surely still points to a bug in IE, if IE was the only "browser" to not render the content.



By Blogger jones, at 2/07/2009 01:24:00 am  

Nice blog...
visit also coldfusion example



By Blogger rduht, at 7/14/2009 06:04:00 pm  

we provide a buy last chaos goldand 2moons gold and2moons power leveling wow power leveling 2moons gold andKnight Golda buy aoc gold or last chaos gold wow power levelinglast chaos gold oraoc gold



By Blogger james, at 9/11/2009 05:10:00 pm  

Great template! Thanx for sharing it with us
I like it! Simple and pretty More templates easy to download



By Blogger J&D, at 9/18/2009 10:10:00 pm  

av女優
av情人趣味用品愛爾蘭情人趣味愛蜜莉情人趣味用品情趣用品

情趣用品情趣用品aio交友愛情館一葉情貼圖片區一葉晴貼影片區



By Blogger eda, at 10/03/2009 02:43:00 pm  

潤滑液,SM,內衣,性感內衣,自慰器,充氣娃娃,AV,
情趣,G點,性感丁字褲,情趣,角色扮演服,吊帶襪,丁字褲,情趣用品,無線跳蛋,男女,


情趣按摩棒,自慰套,角色扮演,按摩棒,跳蛋,情趣跳蛋,
.,
按摩棒,電動按摩棒,飛機杯,視訊,自慰套,自慰套,情趣用品,情趣內衣,



By Blogger longge, at 6/26/2010 11:47:00 am  

louis vuitton
advised abridged the amount of international, but aswell makes the Louis vuitton bags
appearance actual altered from accustomed brands, even louis vuitton handbags
to match, can not beard the lv
out of the appearance the affectionate of takes abroad people's temperament.



By Blogger 太子, at 6/29/2010 01:12:00 pm  

Replica Hermes accoutrements are added reliable than the affected hermes
. Luxurynavi is a actual acceptable online boutique to accept hermes watch
. In adjustment to advice you determine, whether the banker is affairs affected Hermes Jewellery
.



While the Chanel
changes hardly from year to year do not about buy chanel watches
. All-embracing the Chanel bags
has array of a aboveboard attending to it.



By Blogger cherrywei, at 3/24/2011 05:38:00 pm  

R4DS
r4i gold
r4i-sdhc
acekard 2i
ps3 move
ps3 controller
ps3 games
ps3 wireless controller
ps3 move accessories
cheap ps3 controller
ps3 hdd
ps3 games hdd
Acekard 2i
nds card
Acekard
r4 dsi
r4 revolution
r4i gold
M3
M3i Zero
Acekard
Acekard 2i
R4i
R4 SDHC
Acekard 2i
supercard ds2
ps3 external hard drive
ps3 accessories
CycloDS



» Post a Comment

Trackbacks:

» Create a Link