Can someone explain when i need to hold of running scripts in CEWP's until SP.js is loaded. SP.js takes 7 seconds to load which is rediculously slow. People complain about the page load time in SP and have directed us to use other tools due to SharePoint extremely SLOW SLOW load time. The development time will be greater and some of the features SharePoint offers (like document search and versioning) cannot be created in .Net apps.
Thanks in advance.
Another option... I have a custom master page with many web parts on the page. i would like to render as much content as possible when the page loads and show a spinner while the other web parts are loading. I am using entirely CEWP's on the page with javascript/web services. The page takes about 10 seconds to load (7 of it waiting for SP.js to load).