I know this sounds like a silly question, but hear me out. These days, there are a lot of 'media aggregator' tools that will take your globs of javascript (laden with coffee and underscores and backbones and who knows what else) and string them together and rewrite them and munge them and uglify and minify them them and tape them together so that clients only have to make one request to get all the javascript or style sheets for a site.
This is pretty cool. I like keeping my java(coffee)script files small and separate, and I like my clients making only one request.
But if we go through all that trouble to make our javascript really small and stuff, why not just send it WITH the first request? Why not just have tools that do the minification and aggregation and then write it directly to the html?
Common sense tells me that this would be bad, but I'm not sure why. Can anyone explain?