Why aren't my ASPX pages compressed with Gzip enabled?

So, I have configured gzip compression in IIS 6.

I have enabled compression for both static files and application files. I have set up a 1.024 MB temporary directory.

I modified Metbase to include: htm, html, js, css, aspx, xml

I set the compression level to 9.

I added a WSE called HttoCompression and installed it in gzip.dll to set it to Allow.

I reset IIS.

I notice that my css, xml and js files are compressed, but ASPX pages are not.

Did I miss something?

+2


source to share


4 answers


By default, the static file types .txt, .htm, and .html and the dynamic file types .exe, .dll, and .asp are set for compression in IIS.

So, to add other file types, you need to configure your own settings for each compression option by editing the metabase, or alternatively - in the case of a compression directory - using IIS Manager.



For more clarification plz visit http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/25d2170b-09c0-45fd-8da4-898cf9a7d568.mspx?mfr=true

+1


source


Have you followed these steps correctly?

http://support.microsoft.com/kb/322603

      



Also, I would highly recommend the Port 80 solution:

http://www.port80software.com/products/httpzip/

      

0


source


You will need to go and edit the IIS metadata file. If you don't want to rename the IIS / server after you have done so, right click on edit live metabase in IIS

From the MS article you can get some of the patch results.

To put it simply (from Mr. Atwood), it's basically just cut and paste the current values. http://www.codinghorror.com/blog/archives/000059.html

0


source


I had the same problem and it turned out that I was putting the aspx extension in the wrong place in the MetaBase.xml file

When I put it under HcFileExtensions it didn't work. When I put it under HcScriptFileExtensions it worked.

0


source







All Articles