Changes between Initial Version and Version 1 of Ticket #22244, comment 8
- Timestamp:
- 10/22/2012 04:51:25 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #22244, comment 8
initial v1 1 @alexvorn2 The reason many WP-powered sites load jQuery in the head is ''because'' that is the default behavior and because '''they don't any better'''. That's exactly the reason why the default should be changed. [http://ucsdnews.ucsd.edu/newsrel/soc/policydefaults06.asp "Pe rceive the default option as a recommendation."]1 @alexvorn2 The reason many WP-powered sites load jQuery in the head is ''because'' that is the default behavior and because '''they don't any better'''. That's exactly the reason why the default should be changed. [http://ucsdnews.ucsd.edu/newsrel/soc/policydefaults06.asp "People perceive the default option as a recommendation."] 2 2 3 3 The performance benefits of loading scripts in the footer are [http://stackoverflow.com/a/2105394/770127 well-documented]. The only plausible reason to load jQuery in the head would be it you have a UI that relies ''entirely'' on it and you'd rather have users see a blank screen than an FOUC. Edge case.