Page 1 of 1

js/jquery file includes in headcontent

Posted: Sun Apr 22, 2012 7:24 pm
by cs_ruk
Hi,

Is there a reason to include all js/jquery stuff in headcontent.jsp instead of including them to required jsps and only include the common ones in head content? Wouldn't that be a hit on page loading time in real time app?

Re: js/jquery file includes in headcontent

Posted: Tue Apr 24, 2012 9:02 am
by jfridye
We included all JavaScript libraries in headcontent.jsp in the demo app for convenience, and certainly agree that they should only be included on a page when used when building a production-ready site. Broadleaf does not depend on js/jQuery being in headcontent.jsp.