« Previous Next »

Thread: IIS 6.0, Compression and semi-dynamic data

Last post 06-17-2009 8:18 AM by osteinme. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 06-15-2009, 11:24 AM

    • osteinme
    • Not Ranked
    • Joined on 06-15-2009, 11:16 AM
    • Posts 2

    IIS 6.0, Compression and semi-dynamic data

    Hi

    I have a web service in C# that computes every 10 minutes some very large report - amount of data returned = 120MB. The report is cached.

    We will use HTTP compression but the issue I'm having is that it will compress our cached report for each client request : in IIS 6.0 only static files are cached even when compressed.

    Is there some way around it so that IIS caches the compressed report and serves it to clients, and we compress again only once the report has changed ?

    In the past we have tried to compresse the data ourselves in the web service but the gain was not as good as when IIS does the job.

    Thanks.

    Olivier

  • 06-17-2009, 3:06 AM In reply to

    • ksingla
    • Top 25 Contributor
    • Joined on 06-14-2006, 3:02 AM
    • Redmond, WA
    • Posts 863

    Re: IIS 6.0, Compression and semi-dynamic data

    IIS7 has this scenario supported.You can make dynamic compression happen before update cache stage and if you have output caching configured, you end up caching this dynamically compressed response. I don't think this will be possible with IIS6 without a custom ISAPI.

    Follow me on twitter at http://twitter.com/kjsingla
  • 06-17-2009, 8:18 AM In reply to

    • osteinme
    • Not Ranked
    • Joined on 06-15-2009, 11:16 AM
    • Posts 2

    Re: IIS 6.0, Compression and semi-dynamic data

    Thanks ksingla.

    That's what I feared.

    My company needs to finish validating windows server 2008 then IIS7, which is planned for September ... And I don't want to go the custom ISAPI route, dev and support are not familiar enough with IIS here so I want to stick to plain vanilla IIS as much as possible.

Page 1 of 1 (3 items)
Microsoft Communities