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

Also, how likely is it that two websites use exactly the same CDN and version of e.g. jQuery or Angular?


This is probably a major contributing factor to the issue.

Personally, I've seen the greatest improvement in performance by avoiding latency more often than total download size. That's why concatenation works so well. It's just much more expensive to initiate two HTTP requests (four, if it does a HEAD first to get the Last Modified date), than one.

That said, I still limit total download size. JQuery is not a big enough contribution to my productivity to warrant an extra 86KB of data. React is like 132KB. Angular is 144KB. That's a lot of KB for anyone riding on the metro.




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

Search: