3 ms·
> The problem with web page performance is people believing that by distributing all their (mostly unnecessary) assets over two dozen unrelated origins they spe
by untog 8y ago
> The problem with web page performance is people believing that by distributing all their (mostly unnecessary) assets over two dozen unrelated origins they speed things up.
Ironically that is exactly what web developers were told to do for years:
https://developer.yahoo.com/performance/rules.html#split https://developer.yahoo.com/performance/rules.html#split
I can't deny that a lot of web pages bundle far too much JS, but if you've been using a strict ad blocker for a long time you perhaps don't realise how bad the ad code has gotten. React loads in the blink of an eye compared to the multi-second load times for five-level embedded popover ads.
- crtasm 8y agoThat link recommends no more than 2-4 domains and gives an example of static.yourdomain.com, it's hardly suggesting embedding 20 third party scripts.
- untog 8y agoI assumed the OP wasn't talking about third party assets since no-one chooses to distribute them across different domains, that's just how they have to be used.
- crtasm 8y agoThen perhaps I've misunderstood what they mean by mostly unnecessary assets. I was thinking of the choice to embed third party scripts or not, rather than what domain they're on.