This is a migrated thread and some comments may be shown as answers.

Feature Request: Reducing script payload

4 Answers 57 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 03 Dec 2009, 09:39 PM
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

4 Answers, 1 is accepted

Sort by
0
Ivo
Telerik team
answered on 04 Dec 2009, 12:53 PM
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.
0
Richard
Top achievements
Rank 1
answered on 04 Dec 2009, 07:04 PM
Thanks - news of the CDN is great.

I would so appreciate splitting the scripts further.

Thanks,


Richard
0
Tarek
Top achievements
Rank 1
answered on 14 Nov 2013, 04:21 PM
"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

0
Genady Sergeev
Telerik team
answered on 19 Nov 2013, 03:18 PM
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.
Tags
General Discussions
Asked by
Richard
Top achievements
Rank 1
Answers by
Ivo
Telerik team
Richard
Top achievements
Rank 1
Tarek
Top achievements
Rank 1
Genady Sergeev
Telerik team
Share this question
or