Re:We Removed jQuery
by bvoran on Saturday October 20, 2018 @04:31PM
(#18265272)
Hi there. The bandwidth measurement is purley from our JS bundle. We are saving roughly 32kb (47kb - 15kb) from our previous article bundle with jquery... so 32kb x 5 million (unique pageviews) = ~160gb so actually more than I stated in the article. Now we do use a CDN but the idea is that we would have the lowest js footprint possible especially b/c of things like 3rd party ads which we unfortunately can't control.
[ Parent
| on HN ]
Why is it times unique page views? If I view 5 unique pages at your site, wouldn't I only have to download your JS bundle once, due to my browser cache?
Or does each page have a different bundle so that the browser cannot do any useful caching?