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

CDN is a way to go unless you have some very specific circumstances, like increased security requirements or lack of CDN edge location near the majority of your users.

jQuery CDN has something like 99,8% cache hits. And even if the browser doesn't have the library cached, it will have it cached on all subsequent request. Additional roundtrips will be needed on first page load only. Take into consideration that as soon as you make even a small change to your js files, the whole minified and bundled JavaScript will need to be redownloaded.



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

Search: