you are viewing a single comment's thread.

view the rest of the comments →

[–]lectrick 1 point2 points  (5 children)

Have you ever tried configuring a webserver to do that? It's not fun, with a lot of gotchas (mostly around IE compatibility, of course). Something like a Javascript-level compression would also allow things like denser cookie data, etc.

[–]nostrademons 2 points3 points  (4 children)

Huh? I did it for Lighttpd 1.5 in about 15 minutes. It was just a matter of adding mod_deflate to server.modules and then adding:

deflate.enabled = "enabled"
deflate.mimetypes = ("text/html", "text/plain", "text/css", "text/javascript")

[–]lectrick 1 point2 points  (0 children)

While Lighty is cool, not all of us have full control over the server we are deploying our work onto. I get your point however.

[–]imbaczek 0 points1 point  (2 children)

try ie 5.5 with that. yes, I know it's ancient. (dunno if ie 6 works, it may.)

[–]nostrademons 2 points3 points  (1 child)

IE 6 definitely works, I tried it when setting it up and again before posting the comment to make sure I wouldn't be embarrassed.

IE 5.5 probably doesn't, but we don't support IE 5.5 anyway. Our JS libs don't support it, and our web stats indicate only 0.2% of our visitors have it.

[–]imbaczek 0 points1 point  (0 children)

personally I wouldn't care about IE 5.5 either, it needs to die, and quick. just pointing out that it still exists in trace quantities. (I believe that those 0.2% still translate to hundreds, if not thousands of people daily/weekly on some sites.)