Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>the tradeoff of getting the bundles right, which of course reduces cachability

If you are revving your bundles with hashes (main.8a4ce55.js), caching shouldn't be a problem. Not sure what your build process is, but there are plugins to do this on most setups.



That's precisely the point revving bundles with hashes is about destroying cachability.

When two separate resources together at build time they're being coupled from a caching point of view if one gets changed and the other doesn't they they both have to be re-downloaded because the bundle has changed.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: