JS file size issue

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
astroutkarsh
Ensign (ENS)
Ensign (ENS)
Posts: 8
Joined: Fri Sep 25, 2009 3:32 am

JS file size issue

Post by astroutkarsh » Mon Dec 07, 2009 6:30 am

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.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: JS file size issue

Post by mazhar » Mon Dec 07, 2009 7:13 am

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.

Post Reply