Re: HTTP Compression issues with IIS 5

From: Tony Cooke (TCooke_at_elders.com.au)
Date: 09/24/04


Date: Fri, 24 Sep 2004 15:01:02 +0930

Hi again WehJun.

Thanks for your response.

This is a good thing as content that we change infrequently we wouldn't want to resend.

Since we have SP4 on the W2K box we shouldn't have to worry about the "307633 IIS Does Not Return an HTTP 304 Not Modified Message for Compressed" issue.

I have added css and js extensions to the static content behorehand using the adsutil script.

I gather you haven't had much of a chance to look at the files I sent you?

I thank you again for taking the time out to look at them.

All the best,

Tony

""WenJun Zhang[msft]"" <v-wzhang@online.microsoft.com> wrote in message news:9xsEYzVoEHA.404@cpmsftngxa06.phx.gbl...
> Hi Tony,
>
> "Won't this expire all content on the client immediately including
> images, javascript files, etc? This could defeat the purpose of
> having compressed content if we have to resend everything every time."
>
> Sorry I forgot this question. You needn't worry about this. I did
> test and see IIS still would send 304(not modified) response to
> clients when using HTTP compression. 304 response doesn't have any
> actual data, it simply tells client the local cache still can be used
> and hasn't been expired. IIS will reply 304 if client attach a last
> modified time of its local cache in http request and the time isn't
> earlier than the file's on server.
>
> Formerly IIS5 did have a bug on this behavior but it has been fixed
> in service pack 3: 307633 IIS Does Not Return an HTTP 304 Not
> Modified Message for Compressed
> http://support.microsoft.com/?id=307633
>
> I previously suggest you select 'expire immediately' to see if this
> can help resolve the ASP caching problem. Since the problem is worked
> out by max-age=0, now you can rollback it or use the content
> expiration options(in HTTP Headers tab) to control the web client
> cache behavior, the setting can be set at each individual file level.
>
> Furthermore, actually css and js are not compressed file types by
> default. The default ones are only: html/htm and txt. You can
> manually add them to HcFileExtensions by using MetaEdit:
>
> HOW TO: Specify Additional Document Types for HTTP Compression
> http://support.microsoft.com/default.aspx?scid=kb;en-us;234497
>
> Best regards,
>
> WenJun Zhang
> Microsoft Online Support
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> Get Secure! - www.microsoft.com/security
>



Relevant Pages

  • Re: Client/Service relationships & Flow of Requirements.
    ... the client calls "foo" when it wants "bar" to return a particular value. ... The following is designed to compel Prey objects to do something: ... predator < 100 yards from prey ... It is the expectation of the response that makes the runFrom name immediately suspect in an OO context. ...
    (comp.object)
  • Re: [Full-disclosure] [Professional IT Security Providers -Exposed] PlanNetGroup ( F )
    ... the review a second time and incorporate some of your suggestions. ... to do what the client will pay him for. ... exactly a vulnerability assessment is... ... Your response to question 3: ...
    (Full-Disclosure)
  • Re: Debain on the rise ! - However ....
    ... >> Maybe I'll be able to give Debian a try at some point in the future, ... Most threads get response. ... > client shouldn't bitch that they get burned by volume. ... > chance HTML email has content, ...
    (Debian-User)
  • Re: Socket write behaviour is inconsistent?
    ... copy 1 byte to buffer, copy many bytes to buffer, copy one byte to ... Then why did you write "the client throws an error"? ... remote endpoint for your connection. ... When the response is sent using the first chunk of code, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Message-based vs. method-based interaction [was: Re: LSP and subtype]
    ... That means the sender implementation does not to know about the response, much less depend in any way on what the responder does, so LSP becomes academic. ... Separation of message and method allows one to design both the client and the service independently. ... Then the entire LSP issue comes down to determining where in the subclassing tree the client should access. ... To do that one needs the OOA/D mindset that clients generate messages, ...
    (comp.object)