atheycreek/churchdeploy — Issue #8: JavaScript
Author: kirkstrobeck
Created: 2011-12-03 17:14:32+00:00
State: open

I'd really like to make only 2 JS requests (outside of typekit and analytics)

1. Compiled local scripts ( ie. jQuery, etc. )
2. `common.js` all functions, etc.

I do not believe we need page-specific loads as the caching will do all the work.
HTTP requests are the single largest load-time impact, this is why I'm a huge proponent of a slightly larger initial request; cached once, no more JS load throughout the browsing experience.

I have performed many load-time tests over years, and these are the results I've found to be true.