On Wed, Sep 23, 2009 at 3:53 PM, Evan Prodromou <[email protected]> wrote:
> So, just in casual tests, moving our <script> tags down to just before
> </body> seems to really speed up apparent page load.
>
> However, it means that inline JavaScript throughout the page can't access
> functions in those included files. (We don't have any code that does that in
> the main distribution, I don't think.)
>
> Is there any objection to making this move for 0.9.x? It seems like a win
> here.

It's a good move, for sure. I promise to not always email this list
with "well, Drupal does..." - but our drupal_add_js feature supports a
few different modes - <head> vs. "closure" inclusion for inline JS -
which is a nice approach imnsho. :-)
-- 
James Walker :: http://walkah.net/ :: xmpp:[email protected]
_______________________________________________
StatusNet-dev mailing list
[email protected]
http://lists.status.net/mailman/listinfo/statusnet-dev

Reply via email to