Hacker News new | ask | show | jobs
by billsimpson 4154 days ago
Yes. The issue for me has been that I bundle my libraries with my app using, for instance, Browserify. So whenever I update the app (which is fairly often), the entire bundle needs to be redownloaded by all clients. I guess the obvious solution is to unbundle the larger libraries that don't get updated frequently.
1 comments

That is absolutely the solution. Don't bundle jQuery and other big libraries into your application code. It can drastically improve performance.
In that case, must you create one or more separate bundles to contain your vendor libraries? I suppose there's no way to directly integrate a jQuery library hosted on a public CDN.