Is it possible to enable compression for WebResource.axd?

3 posts, 0 answers
  1. Sean
    Sean avatar
    200 posts
    Member since:
    Nov 2010

    Posted 25 Jul 2011 Link to this post

    Hi Telerik,

    I am going through performance tuning for my ASP.NET AJAX web project. After enabling RadCompression, using RadStyleSheetManager to compress my CSS, and RadScriptManager to compress my JavaScript, I still receive one 'warning':

    1. Enable gzip compression (1)
      1. Compressing the following resources with gzip could reduce their transfer size by about two thirds (~14.14KB):
        1. WebResource.axd could save ~14.14KB

    Is this possible, or is it just complaining about the auto-generated...ness of the file?

    EDIT: I guess while we're at it I might as well ask about the others --

    There's a LOT of excess, runtime-generated CSS generated and I'm not sure if I can do anything about it..

    1. Remove unused CSS rules (465)
      1. 419.86KB (93%) of CSS is not used by the current page.
        1. Telerik.Web.UI.WebResource.axd: 354.79KB (92%) is not used by the current page.
        2. Dashboard.aspx: 65.07KB (100%) is not used by the current page.

  2. Simon
    Simon avatar
    2281 posts

    Posted 28 Jul 2011 Link to this post

    Hi Sean,

    The first warning is for a web resource (requested through WebResource.axd) that has not been compressed. The rest of the resources, those requested through Telerik.Web.UI.WebResource.axd are compressed because our handler does so. In order to compress the first type of resource you can use RadCompression specifically configured to catch WebResource.axds or configure your web server manually.

    The second case is more curious. Our controls output only the CSS files, which they require; otherwise they will not be displayed properly. So I am not sure why the warning is raised.

    Could you please provide more information about the second case, e.g. which are the controls on the page having the warning and what is the response returned by the handler? Alternatively you can stop style sheet combining in RadStyleSheetManager (EnableStyleSheetCombine=false) and detect which exactly resources are raising the warning and again inspecting their response.

    Kind regards,
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. DevCraft R3 2016 release webinar banner
  4. dipak
    dipak avatar
    3 posts
    Member since:
    Apr 2011

    Posted 02 Oct 2013 Link to this post

    regarding to #2 message. That be because of some of style on the page you viewing does not need css but rest of page need it.  even your hidden element like radgrid would also show that all .RadGrid classes are not needed.

Back to Top