Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
605
infragistics.js or infragistics.loader.js, a difficult decision!
posted

infragistics.js combined all controls js, it's too huge, over 2M even minified. 

infragistics.loader.js is lightweight, it will raise more http request. Look the grid control which is the most commonly used in out application.

Almost 20 request raised.

Code:

$.ig.loader({
scriptPath: '/gaia/Scripts/',
cssPath: '/gaia/Content/',
resources: 'igGrid.Paging,igGrid.Resizing,igGrid.Updating',
locale: 'zh-CN',
regional: 'zh-CN'
}); 
Parents Reply Children
No Data