Best Practice - Javascript at bottom for faster page loads

Jonathan Bowlas <j.bowlas-hclig2XLE9Zaa/[email protected]> Fri, 10 Jun 2011 10:01:37 +0100
Newsgroups gmane.comp.web.zope.silva.devel
Message-ID <[email protected]>
Hello again Devs,

Best practice states that Javascript files should be loaded at the
bottom of the page for faster page loads

http://developer.yahoo.com/performance/rules.html#js_bottom

How would I do this with silvaconf.resource() calls when inheriting IPorto?

I realise I can hard code the JS files at the bottom, but I would like
to take advantage of the concatenation and minifying available when
using silvaconf.resource().

Cheers

Jon

-- 
Jonathan Bowlas
Web Support Officer
Media Services
University College London
Email: j.bowlas-hclig2XLE9Zaa/[email protected]