views:

743

answers:

3

We've got a classic ASP application that is putting out some very large reports, where the resulting HTML is several MBs. We've made a lot of progress in trimming this down by reducing extraneous HTML, but I'd like to know if there's any way to enable GZIP compression on these dynamic .asp pages. I'm sure compressing them would be an enormous benefit to the file size.

All of the GZIP compression information I've seen only talks about supporting files or .aspx pages.

Thanks.

+6  A: 

Sure, that's just a matter of turning on compression in IIS. See this MSDN page for example.

Arnout
Ah, that's the first link I've seen that actually mentions .asp pages. Thanks!
Raelshark
A: 

Yes, if you are running IIS 6.0 or greater. TechNet ref is here.

This 15 Seconds article has some good info as well.

Mitch Wheat
A: 

I recommend using HttpZip from Port 80 Software. It basically just enables compression in IIS but from a GUI instead of getting into the metabase. I used it in a web-farm for a big enterprise ASP application.

Espen
Hmmmm. Spend $349 per-server, or open the metabase in notepad... tough choice
Orion Edwards
I agree, it is not worth the price. But as it just changes the settings you can just download the trial, use it and then uninstall it.
Espen