tags:

views:

234

answers:

1

When gzip is activated in an IIS6 website for dynamic content (aspx pages) : it seems it compress all responses.

Is there a way to exclude just a page ?

From best to worst solutions :

  • by adding a specific response header (which could be done dynamicly) ?
  • by providing some specials markups in the web.config ? (seems not possible under iis6/gzip)
  • by doing some configurations under iis6 ?
A: 

By using a custom extension that is not compressed.

brunob
So ... I will setup a httphandler for *.ashx. And put the code of that page in the handler ...And, are you really sure that under IIS6, you can set gzip to not compress *.ashx files ?If that's right : it's the only way to go. And I will do it on monday in the second revision ;-)
manatlan