Feature Request: Reducing script payload

5 posts, 0 answers
  1. Richard
    Richard avatar
    38 posts
    Member since:
    Nov 2008

    Posted 03 Dec 2009 Link to this post

    Hi,

    My number one wish, for the controls would be to reduce the overall payload of the controls.

    I was thinking that it may be easy to split up telerik core into a few different scripts - that are included only if you need them.  I had a quick look, and there is some code that appears to be relating to web services that wouldn't be needed all the time.

    Also, some of the functions seem to be similar to functions contained in jQuery. Since jQuery is pretty "mandatory", could these functions be refactored to use JQuery instead of the telerik.core, reducing the script further.

    For the general controls - again, it would be great if the scripts could be broken down further into functional parts.  Either compiling-on-the-fly only what bits you need, or having a "pre-compile" system when you deploy your project.

    And - maybe some "lazy loading" of script parts.

    At the moment, i am employing all the script combining / script compression / caching i can, but for some of my projects where bandwidth is an issue, i am not able to use my favorite set of controls.  Half the world is still on dialup.  Google - who are known for the light interface - is still spending loads of time and money reducing the bytes its sends to people.

    A small script payload would really put you ahead of other asp.net ajax vendors, and give you a unique selling feature. 

    I could start to try and "split-up" the code for different projects myself, but would no doubt encounter problems / hurdles when new, improved versions of the products are released.

    It would be fantastic if you could work towards this.

    Thanks,



    Richard

  2. Ivo
    Admin
    Ivo avatar
    689 posts

    Posted 04 Dec 2009 Link to this post

    Hi Richard,

    Thank you for the suggestions. 

    We are already using most of the approaches you mention but there is definitely more room to improve.
    We will be introducing more and more optimizations with next updates. One of the cool new things we are finishing up (and will be released with SP1 next week) is CDN Support for all resources - scripts, images, CSS. Stay tuned for announcements and blogposts.

    Greetings,
    Ivo
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Richard
    Richard avatar
    38 posts
    Member since:
    Nov 2008

    Posted 04 Dec 2009 Link to this post

    Thanks - news of the CDN is great.

    I would so appreciate splitting the scripts further.

    Thanks,


    Richard
  5. Tarek
    Tarek avatar
    23 posts
    Member since:
    Mar 2013

    Posted 14 Nov 2013 Link to this post

    "For the general controls - again, it would be great if the scripts could be broken down further into functional parts."
    Any news about this feature ? INFRAGISTICS have it in their grid : 

    Grid configures automatically for the optimal performance per instance. WebDataGrid only sends the JavaScript & HTML required for the features you enable on it, meaning no unnecessary JavaScript & HTML files are sent to the web browser.

    Thanks,
    Tarek

  6. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 19 Nov 2013 Link to this post

    Hi Tarek,

    RadGrid have some of its functionality split from the main scripts as well. To be more specific - these are the virtualization, batch editing and cell selection features.

    As always we will continue improving our scripts in terms of size in performance for the future release of the RadControls.

    Regards,
    Genady Sergeev
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017