Share via E-Mail
Share on Google Buzz
Share on Twitter
Share on Facebook
E-junkie Blog
E-junkie FaceBook Page
E-junkie @ Twitter

E-junkie Ecommerce Forums » E-junkie Discussions

Tag Cloud for this topic:

Why is the box.js code so large?



SpeakMoreClearly
member
Posts: 32


Since one of the things AdWords measures as part of the Quality Score is the time taken to down load the page, I thought I'd take a look at that. I used the service at http://www.websiteoptimization.com and discovered that the EJ script box.js is over 1/2 of the total size of my web site (see table below). This seems really odd!

The site's analysis and recommendations says
SCRIPT_SIZE - Warning! The total size of external your scripts is 44113 bytes, which is over 8K. Consider optimizing your scripts for size, combining them, and using compression where appropriate for any scripts placed in the HEAD of your documents.





Page Objects
QTY SIZE# TYPE URL
1 37267 SCRIPT https://www.e-junkie.com/ecom/box.js
1 9987 HTML http://www.speakmoreclearly.com/downloadbritishaccent
1 6846 SCRIPT https://ssl.google-analytics.com/urchin.js
1 4175 IMG http://www.speakmoreclearly.com/SatisfactionGuarantee.jpg/ SatisfactionGuarantee-small.jpg
1 2738 IMG http://www.speakmoreclearly.com/SMCBox.png/SMCBox-small.png
4 2738 IMG http://www.speakmoreclearly.com/SMCBox.png/SMCBox-small.jpg
1 1239 IMG http://www.speakmoreclearly.com/signature.jpg/signature-small.jpg
5 1058 IMG https://www.e-junkie.com/ej/x-click-butcc.gif
1 530 IMG http://www.speakmoreclearly.com/SMCManual-Free.PNG/SMCManual-Free- customsize:126,130.jpg
1 530 IMG http://www.speakmoreclearly.com/PayPalVerified.jpg/PayPalVerified- customsize:90,90.jpg
1 530 IMG http://www.speakmoreclearly.com/GirlLaptop.jpg/GirlLaptop-fullcrop: 0.02,0.07,0.99,0.95.jpg
1 530 IMG http://www.speakmoreclearly.com/EsterBruhl.jpg/EsterBruhl-fulleffect: grayscale,28.jpg
12 ^ 68168* Total (^unique objects)


#
POSTED ON: September 6, 2008 @ 17:24 GMT -7




E-junkieChef
E-Junkie Crew
Posts: 936


box.js includes jQuery and that's why it's 40KB. However, 40KB is not a big load as the buyer will only hit the file once and then will cache it. If the buyer has visited any other E-junkie merchant in past, then buyer will have the file cached already.

Make sure that you are serving box.js using HTTP and not HTTPS.


#
POSTED ON: September 8, 2008 @ 04:33 GMT -7


You must be logged in to make a post. Please click here to login.

30 Day Money Back Guarantee
PayPal Certified Integration
Google Checkout Certified Integration
Slam the Online Scam