Why are my ASPX pages not being compressed with Gzip enabled?

So I set up gzip compression within IIS 6.

I enabled the compression for both static files and application files. I set up a temp directory with the size of 1,024 MB.

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

I set the compression level to 9.

I added a WSE, called HttoCompression and set it to the gzip.dll aset it to "Allow".

I reset IIS.

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

Did I miss something?

-------------Problems Reply------------

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

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

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

Have yo followed these steps correctly?

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

Also, I would highly recommend Port 80's solution:

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

You will need to go and edit the IIS Metabase file. If you dont want to resrart IIS / the server once you have done it click alolow live metabase edits in IIS

From the MS article you can get some patch results.

Easier post to follow (From Mr Atwood), basicly just cut and paste over the current values. http://www.codinghorror.com/blog/archives/000059.html

I had the same issue and it turned out I put the aspx extension in the wrong spot in the MetaBase.xml file

When I put it under HcFileExtensions it did not work. When I put it under HcScriptFileExtensions it did work.

Category:asp.net Views:0 Time:2009-10-09

Related post

  • A search aspx page return slow 2012-03-21

    I have a asp.net website, there is a searchResult.aspx, it runs a sql script to retrieve data from MS SQL server database, and then put the data into a HTML format, the website has been deployed in IIS7.5 Server. I have implemented both static and dy

  • Reading XML In Flash From An ASPX Page 2009-05-01

    I have created an aspx page which dynamicaly creates an xml string and posts it back to the client. protected void Page_Load(object sender, EventArgs e) { Response.Clear(); Response.ContentType = "text/xml"; Response.ContentEncoding = Encoding.UTF8;

  • Changing response type in aspx page breaks in IIS7 2010-03-03

    I have a custom implementation of Application_PreRequestHandlerExecute which is applying a deflate/gzip filter to the response. However, on IIS7, this is failing on my "script generator" pages. These aspx pages take in Query String values and return

  • How to minify aspx pages 2010-09-30

    I am developing a web-based Pokemon Online game. Since it is online, I would like to optimize it to run as quickly possible. I've installed Firebug and Page Speed suggests minifying my HTML output. I'm also using VS2008, ASP.NET 3.5, AJAX, and IIS 7.

  • Order of CSS and Script Calls in an ASPX page 2010-10-19

    Is there any specific order in which the external CSS or Scripts should be called in a ASPX page which could help a bit in decreasing the page load time? i.e script type="text/javascript" src="../Includes/JavaScript/jquery.ui.tabs.js" link href="../I

  • how to optimize aspx page when it has several script files included inside it? 2010-11-25

    i have an aspx page which contains script references to many javascript and css files(about 10 or more). the problem is as you would expect is the slow loading time of the page. i tried to move some of the scripts to the end of the page but this did

  • remove carriage return and line feed after publishing aspx pages? 2011-05-11

    Would it be possible to set something in asp.net application in such a way that all of carriage return and line feed will be removed in aspx pages? For example: if I view source of my page, I see: <div> abc </div> I want to have: <div

  • Loading aspx page using jquery .load method 2011-08-16

    In my page I have a dropdown that filter through the dining options that we have. I use jquery .load to reload the list. My problem is I'm using squishit to compress and combined my css/js files and I need to reference this again in the aspx page tha

  • Remove white space from my aspx page using regex 2011-11-24

    i need to remove few things from my aspx page. 1) need to remove white space from my aspx page. 2) need to remove all html & css comment from my aspx page. 3) need to remove javascript comment like single line & multi line comment please give

  • can I call javascript obfuscated code normally on asp.net aspx page? 2012-02-15

    I am developing web app using asp.net. I have plenty of javascript files which I want to obfuscate. I found many links on this and other sites for various tools. However following points are not clear from them Can I minify the obfuscated js file? if

  • How do I keep my Login.aspx page's ReturnUrl parameter from overriding my ASP.NET Login control's DestinationPageUrl property? 2008-08-28

    I'm using the ASP.NET Login Controls and Forms Authentication for membership/credentials for an ASP.NET web application. I've got pages such as PasswordRecovery.aspx that are accessable to only Anonymous users. When I click my login link from such a

  • Conditional Display in ASPX Pages on Sharepoint 2008-09-03

    I wonder what the best practice for this scenario is: I have a Sharepoint Site (MOSS2007) with an ASPX Page on it. However, I cannot use any inline source and stuff like Event handlers do not work, because Sharepoint does not allow Server Side Script

  • Best way to implement Google Custom Search on an aspx page 2008-09-16

    Google custom search code is provided as a form tag. However, Asp.net only allows a single form tag on a page. What is the best way to implement their code so you can include it on an aspx page (say as part of a Masterpage or navigation element). ---

  • Can an ASP.NET ASPX Page be Processed From a Source that is not the File System? 2008-09-30

    Is there a way to execute a full ASPX source file where the page source is from a string/database/resource and not a file on the file system? It's straightfoward to render dynamic content/images/etc using HTTP Handlers and Modules and writing to the

  • Html control and Server control can be used in single aspx page 2008-10-03

    I need help on this following aspx code aspx Code: <asp:Label ID ="lblName" runat ="server" Text ="Name"></asp:Label> <asp:TextBox ID ="txtName" runat ="server"></asp:TextBox> Consider this is my aspx page content. I am going

  • Best way to send data to aspx page in ASP.NET 2.0/3.5? 2008-10-06

    Which is Best way to send data to aspx page, and why? using query string using session using cross page postback Something else Thanks. What are you trying to achieve? More info. please For example search form and advanced search form or multi step u

  • How to set property to Guid in aspx page 2008-10-06

    I have the following code in one of my aspx pages: <% foreach (Dependency dep in this.Common.GetDependencies(this.Request.QueryString["Name"])) { %> <ctl:DependencyEditor DependencyKey='<%= dep.Key %>' runat="server" /> <% } %

  • Is the design view for aspx pages in Visual Studio useful? 2008-10-12

    I have never really found the design view in Visual Studio useful when developing aspx pages, and so I basically never use it. Am I missing something or is it just one of those features that isn't particularly useful? Do you use the design view? If s

  • How to POST a FORM from HTML to ASPX page 2008-10-16

    How do I post a form from an HTML page to and ASPX page (2.0) and be able to read the values? I currently have an ASP.NET site using the Membership provider and everything is working fine. Users can log in from the Login.aspx page. We now want to be

Copyright (C) dskims.com, All Rights Reserved.

processed in 0.372 (s). 11 q(s)