Re:W3C slaps down Google's proposal to treat multiple domain...
by bigth on Friday April 09, 2021 @07:12AM
(#26749017)
Years ago, webpages loaded faster by using domain sharding. A big website I had used one domain as its primary, but images were on another domain, and there was yet another domain for resources like css and js.
[ Parent
| on HN ]
Re:W3C slaps down Google's proposal to treat multiple domain...
by stjohnswarts on Friday April 09, 2021 @12:07PM
(#26752319)
That's an infrastructure problem. Sure you can solve it with domains, but you can also easily use other current technologies for it with no issues as well and never change the domain name at all.
Re:W3C slaps down Google's proposal to treat multiple domain...
by hinkley on Friday April 09, 2021 @12:31PM
(#26752618)
NCSA was using regional DNS for load balancing in '95. I don't know who invented it but it's at least 25 years old.
Re:W3C slaps down Google's proposal to treat multiple domain...
by gsich on Friday April 09, 2021 @07:20AM
(#26749071)
How is this faster?
More DNS requests, more TCP connections. At first this is purely slower.
Re:W3C slaps down Google's proposal to treat multiple domain...
by diggan on Friday April 09, 2021 @07:23AM
(#26749098)
Browsers used to/still do max number of connections per domain. Adding more domains allows you to do more concurrent requests.
Re:W3C slaps down Google's proposal to treat multiple domain...
by kevin_thibedeau on Friday April 09, 2021 @11:36AM
(#26751879)
With HTTPS you have to handshake for the first connection on each domain.
Re:W3C slaps down Google's proposal to treat multiple domain...
by weird-eye-issue on Friday April 09, 2021 @11:42AM
(#26751991)
Yes and it still outweighed that especially if you were loading a lot of images or a stupid amount of different JS/CSS files
Re:W3C slaps down Google's proposal to treat multiple domain...
by herf on Friday April 09, 2021 @10:55AM
(#26751315)
Upstreams were very limited, and HTTP requests send cookie data in each GET.
For instance, if you had a 128kbps DSL upstream and each request was 2KB (loaded up with cookies), you're already limited to 8 requests/second. A cookie-less domain for small resources helped this a lot.
Re:W3C slaps down Google's proposal to treat multiple domain...
by hoppi on Friday April 09, 2021 @07:22AM
(#26749089)
Pretty sure in HTTP 1.1, there was a max amount of concurrent requests per server/proxy. So using different domains allowed more rq/s.
Re:W3C slaps down Google's proposal to treat multiple domain...
by fuzzy2 on Friday April 09, 2021 @09:55AM
(#26750622)
A separate domain name for static assets would not receive any cookies of the actual site. This means less data transferred and in theory a proxy closer to the user could more easily cache these requests, even for multiple clients.
Re:W3C slaps down Google's proposal to treat multiple domain...
by kevingadd on Friday April 09, 2021 @09:30AM
(#26750309)
More connections = better parallelism = faster downloads
The DNS is cached.
Re:W3C slaps down Google's proposal to treat multiple domain...
by TomGullen on Friday April 09, 2021 @10:30AM
(#26751013)
Before HTTP2 this was common
Re:W3C slaps down Google's proposal to treat multiple domain...
by sdflhasjd on Friday April 09, 2021 @09:33AM
(#26750338)
It spreads out the load on disks and outbound bandwidth.
Re:W3C slaps down Google's proposal to treat multiple domain...
by weird-eye-issue on Friday April 09, 2021 @10:58AM
(#26751354)
You are making the assumption that the domain pointed to different physical servers. To get the benefits of what everyone else is describing it does not matter what the domains actually are pointing to.