Groups | Blog | Home
all groups > asp.net > march 2005 >

asp.net : IIS built-in compression


Just D.
3/14/2005 11:41:00 PM
Who knows beginning from which version of IIS, 5 or 6 only, and what system
like 2000 Server, 2000 Advanced Server, we can use the built-in compression?
I heard once that it was implemented beginning from Windows 2000 Server and
we could use it but I'm not sure that it's true. Right now we're having
Win2000AdvServer and want to get this feature. But according to this article
we can't use it, but only from IIS 6.0

http://www.wwwcoder.com/main/parentid/170/site/3669/68/default.aspx

Who knows for sure?

Thanks,
Just D.

Brock Allen
3/15/2005 4:50:37 AM
You might want to check out the forums/blogs on port80software.com as they
have good articles on these sorts of things:

http://www.port80software.com/200ok/

-Brock
http://staff.develop.com/ballen


[quoted text, click to view]


wwwcoder NO[at]SPAM gmail.com
3/15/2005 6:18:41 AM

[quoted text, click to view]

You can compress on Windows 2000, but not via the internal IIS
compression. You can use add ons like httpcompress
(http://www.blowery.org/code/HttpCompressionModule.html). HTTPCompress
is an http module for ASP.NET, you basically define it within your
web.config. The one drawback however, since it is an http module, it
will only compress files processed by the CLR. It will not compress ASP
pages just aspx, etc. HTTPCompress is free and is what I use on
WWWCoder.com for compressing content. Using a third party module allows
you to compress based on mime type, and folder, something IIS
compression does not support.

There are several commercial modules available, but I like httpcompress
since it is free and you get the source code.

Patrick Santry
http://www.wwwcoder.com
wwwcoder NO[at]SPAM gmail.com
3/15/2005 12:34:30 PM
I see the settings, if you right click on the top most node "Internet
Information Services", and select properties. This will bring up a
dialog, in the Master Properties section select the "WWW Services" from
the drop down and click on the Edit button. This will bring up the
compression dialog. As far as how effective or how well it works, I
don't know I never used it.
Just D.
3/15/2005 12:42:15 PM
Thanks a lot,

Yes, I know about commercial modules, but I didn't hear about this
compressor, thanks, it will be interesting.

I also found many articles including MSDN article about compression in IIS
5.0, but actually I could not find anything for me My version if IIS
doesn't have these tabs in settings and I'm just wondering why Microsoft
provided wrong or not full information about this topic.

Take a look.

http://www.microsoft.com/technet/prodtechnol/windows2000serv/technologies/iis/maintain/featusability/httpcomp.mspx

That's strange. I suspect that they forgot to write that this compression is
added to Server and Advanced server version only and write about ANY IIS
5.0, but that's not true.

Just D.


[quoted text, click to view]

wwwcoder NO[at]SPAM gmail.com
3/15/2005 1:16:20 PM
That's your problem, your using a Workstation OS, you need to use a
server based OS.
Just D.
3/15/2005 1:49:50 PM
I think it's not very efficient by default keeping in mind this article, but
it can be changed. It seems that this compressor doesn't work with ASPX
content by default.

http://www.wwwcoder.com/main/parentid/170/site/3669/68/default.aspx

Just D.

[quoted text, click to view]

Just D.
3/15/2005 1:59:06 PM
Ok, cool, take a look. Here are the screen shots of all these right clicks.
And where? This is Windows XP Pro. I also tried to do the same on Windows
2000 Pro - same result.

http://members.cox.net/dshvetsov/1.jpg
http://members.cox.net/dshvetsov/2.jpg
http://members.cox.net/dshvetsov/3.jpg
http://members.cox.net/dshvetsov/4.jpg

I don't see this tab.

Just D.

[quoted text, click to view]

Just D.
3/15/2005 2:22:51 PM
Ups,

I hope you're right, because I've seen that in a previous version of this
article, maybe it was finally fixed.

Just D.

[quoted text, click to view]

Just D.
3/15/2005 2:24:15 PM
Yes,

That's what I was starting with. M$ doesn't explain that in articles. The
main difference between Home and Pro edition is IIS, but this "Pro" IIS
doesn't include compression. The maximum that I could get was that: I assume
that I can add that manually because everything in Windows is confugurable,
we just need to know the way.

http://members.cox.net/dshvetsov/5.jpg

Just D.

[quoted text, click to view]

Juan T. Llibre
3/15/2005 4:56:34 PM
Which part of the article did you get that impression from ?

"ASPNetCompressTemp" would seem to indicate
that compression *does* work with aspx pages.

Sure, there is "some CPU overhead used on every
page request for dynamic content", but the compression
bandwidth savings are still there.




Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

[quoted text, click to view]

AddThis Social Bookmark Button