I'm thinking pageload speed here; it is only 927 bytes. Please consider it.
I'm thinking pageload speed here; it is only 927 bytes. Please consider it.
Interesting suggestion, but did you consider caching? By being an external resource, the Javascript is only downloaded once by the browser. On the next page load the browser already has it, so it doesn't need to download another 927 bytes.
http://code.google.com/speed/page-speed/docs/rtt.html#CombineExternalJS
http://developer.yahoo.com/performance/rules.html#num_http
http://www.websiteoptimization.com/speed/tweak/http/
http://answers.oreilly.com/topic/489-how-to-minimize-http-requests-to-speed-up-web-pages/
I don't know what your sites' visitors do, but 60% of mine visit only one page per visit. And since external.min.js is on the <head> section, the browser stops doing everything until it finishes fetching this file, hereby delaying everyone from seeing the site. Again, please consider it.
This topic has been closed to new replies.