top | item 8955022

(no title)

billsimpson | 11 years 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.

discuss

order

cshenoy|11 years ago

That is absolutely the solution. Don't bundle jQuery and other big libraries into your application code. It can drastically improve performance.

billsimpson|11 years ago

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.