On 2012-07-06 10:55, Nick Sabalausky wrote:
Yea, sorry, in my haste I worded it all very poorly. I was just concerned about whether using jquery (and pulling it in from a whole separate server) might have a lot of (or too much) bloat for the homepage. I haven't used jquery, but if I understand correctly it's considered one of the bulkier JS libs out there, hence my concern. That's what I was trying to say (and yes, totally missed the mark!).
jQuery is actually preferred to load from another server because it's such a common JS library that there's a pretty good chance that the client already has it cached. But I would prefer to load it from Google instead of jquery.com, for example:
https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js Remember, the fastest request it the one that never needs to be made :) -- /Jacob Carlborg