Speed up your jQuery powered site by moving scripts to the footer.
February 17th, 2012 at 11:07 am
Turns out that pushing jQuery to the footer is quite easy for the common case. If all we want is a nice
$.readyfunction that we have accessible everywhere we can explicitly define it without jQuery. Then we can pass the functions we capture to jQuery later on after it loads.
The big lesson learned is that we could avoided this whole problem if we started off with my proposed helper.