optimization - JavaScript Minification & Concatenation Best Practices? -


if building 10 page site , using uglifyjs minify , concatenate javascript code single file, best practice optimizing code globally across site?

let's arguments sake pages have shared code , have unique code. include code single minified javascript file , include code won't used on every page? or should create additional minified javascript file every page unique code?

i know best choice unique every site if there general rule of thumb applies, curious know best approach be.


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -