ScriptRegistrar, compress

2 posts, 0 answers
  1. Krzysztof Wiśniewski
    Krzysztof Wiśniewski avatar
    1 posts
    Member since:
    Mar 2010

    Posted 02 Jun 2012 Link to this post

    Hosting service, I use it, can works only in medium trust mode and I can't to set some parameters like compressing. Up to day I use in Telerik MVC applications code looks like this:
            .DefaultGroup(group => group

            .DefaultGroup(group => group
    Everythink works fine and typical page speed measured by google pagespeed tools was not less than 85 points with/without CDN.
    Now, I would like to use similar code in Kendo UI MVC based programs. How to do it? Testing code used Telerik Kendo UI MVC without compressing gives me not satisfied result equal 54 points :(

  2. Atanas Korchev
    Atanas Korchev avatar
    8462 posts

    Posted 04 Jun 2012 Link to this post


    You have the following options:
    1. Enable compression in your web server. This is the recommended approach. Here is a blog post showing how to do this: 
    2. Use the bundling support of ASP.NET 4.5: 
    3. Continue to use the ScriptRegistrar and StyleSheetRegistrar

    Atanas Korchev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top