Hacker News new | past | comments | ask | show | jobs | submit login

Well, this might remove one argument against splitting the JS bundles too far.

If you'll never benefit from eg. a shared JQuery library on a CDN anyway, might as well include a (reduced) version of it in your bundle.




That's as long as the shared library is changing about as frequently as your custom code.

If you're using the same framework-x.y.z library for months at a time, but doing daily/weekly code changes and pushes, you're losing out on the cachability of the library.

But if your project is only being updated as frequently as the third party libraries it uses, maybe it makes sense.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: