Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Unassigned: Bundle File Too Big [28035]

$
0
0
Hi all
i follow what you wrote in this article
https://ajaxcontroltoolkit.codeplex.com/wikipage?title=How%20to%20use%20bundling%20and%20CDN

But both using the CDN is the bundle local file has the size 1,18MB
(cnd link http://ajax.aspnetcdn.com/ajax/act/15_1_4/Scripts/AjaxControlToolkit/Bundle.js)

I think it's a huge dimension for a single js file

is it not possible to riduce the file size?
Like downloading only the controls used in the web application as it was possible with the previous version when you ran all through the AjaxControlToolkit.config file
Comments: Since CDN can contain only static files, we include all AJAX Control Toolkit components' JavaScripts files into the Bundle.js file. Unfortunately, there is no way to generate bundle dynamically on CDN. To reduce this file size as much as possible under these conditions, we have minified it before uploading it to CDN. I am afraid there is not much else that we can do in the case of CDN. However, if this issue is critical for your application, you can make a local bundle for some required controls only, because AjaxControlToolkit.config works as before. This will reduce the bundle file size.

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>