The Artima Developer Community
Sponsored Link

.NET Buzz Forum
More HttpCompression

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Scott Watermasysk

Posts: 661
Nickname: scottwater
Registered: Aug, 2003

Scott Watermasysk is an ASP.NET developers. He wrote the .Text blog engine.
More HttpCompression Posted: Sep 12, 2004 2:48 PM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Scott Watermasysk.
Original Post: More HttpCompression
Feed Title: ScottW's ASP.NET WebLog
Feed URL: /error.aspx?aspxerrorpath=/blog/rss.aspx
Feed Description: ASP.NET and Blogging
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Scott Watermasysk
Latest Posts From ScottW's ASP.NET WebLog

Advertisement

I finally got a chance to put Ben's HttpCompression module up this site. I had to make one minor tweak to it. During the check for excluded documents, the empty value returned on the home page for Request.Path* was causing an causing an exception. After I posted the change it looks like all of the pages are now using HttpCompression. As mentioned early, while IIS 6.0 compression works well, it is based on the file extension and not mime type, which causes a lot of misses.

In addition, as was pointed out on the Atom-Syntax list, there are some clients using Http 1.0 which seem to support compression. I was under the impression HttpCompression was an Http 1.1 spec item only, but it appears, I was not completely accurate:

HTTP compression is a long-established Web standard that is only now receiving the attention it deserves. Its implementation was sketched out in HTTP/1.0 (RFC 1945) and completely specified by 1999 in HTTP/1.1 (RFC 2616 covers accept-encoding and content-encoding). [Port80 Software]

I did a quick check with Fiddler and it looks like this module will also handle those cases. Please let me know if you see any weirdness with this site. If all goes well, in a week or two, we will add this module to the asp.net cluster.

* This site is mapping all requests to the aspnet_isapi, which causes default documents to no longer work. As a result, Request.Path returns an empty string instead of /default.aspx for the home page.

Read: More HttpCompression

Topic: Enterprise Development Reference Architecture (formerly Shadowfax) Previous Topic   Next Topic Topic: MapPoint Mobile Locator

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use