XHR Eval

14 views
Skip to first unread message

Maria Jabon

unread,
Nov 23, 2008, 11:56:16 PM11/23/08
to CS193H High Performance Web Sites
I have perhaps a stupid question - but one thing I didn't get was
WHERE the example code would be written in order to implement XHR
Eval? For instance, I have one script at the very bottom of my code
that is normally loaded externally. It could be delayed. So I would
delete the script element and add the XHR code, but where? In the
html?

Steve Souders

unread,
Nov 24, 2008, 12:25:02 AM11/24/08
to cs193...@googlegroups.com
It's best to put scripts as low in the page as possible. So, unless
there's a reason not to, put it right before the </body> tag.

-Steve
Reply all
Reply to author
Forward
0 new messages