Page 1 of 1

JS file size issue

Posted: Mon Dec 07, 2009 6:30 am
by astroutkarsh
Hello Everyone,

I have some problem with java script files.
On home page, there are few js files like "ScriptResource_005.js" etc.
These files has size 250 to 350 KB. Hence my Home takes time to Load and size goes above 1.5 MB.
I have graphics on home page (500 KB appx).

I checked these JS files & they are from AJAX framework.

How can i avoid these JS files loading on home page?

Please help, its urgent.

Thanks in advance.

Re: JS file size issue

Posted: Mon Dec 07, 2009 7:13 am
by mazhar
AbleCommerce makes use of ASP.NET AJAX, so stooping AJAX script can cause problems to application. Secondly make sure that your application is not in debug mode by looking at your web.config's

Code: Select all

<compilation debug="false" strict="false" explicit="false">
mode entry it must be set to false. In debug mode there could be more page data for debug purpose.