News for hackers. Stuff that matters.
Re:Thank HN: From Google form to $1k in revenue in one month by Torn on Thursday October 20, 2016 @03:38AM (#12750372)
+1 for the minimizing into one bundle thing. Sets of assets are loading sequentially which is slowing page load down.

Your code in each js file seems self-contained, so a simple in-order file concatenation into one .js file as a build step would help. gulp and gulp-concat would do it in a few lines of node, and you'd push the built output to your site.

If you end up wrting so much script that a concatenation approach stops scaling, look into webpack and web modules.

There are no comments on this comment yet.