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

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -