Somewhat of a DNS shower thought. What if we could (we can’t) redesign URLs?
The protocol or scheme (first part) can completely override how the rest of the string is handled. Schemes generally don’t have a dot in them so they don’t need a special separator like
Currently to handle a URL, a reader needs to start from the far left, then the far right, and work back to the left. So we could fix the order to follow the hierarchy.
The DNS record itself, or the communicating connection, could declare whether the IP address will use
http (as is done today with the HTTP Strict-Transport-Security response header). So it doesn’t make sense for the scheme to declare the wire protocol – the
dns scheme would just define where the resource is.
submitted by /u/ubershmekel
Powered by WPeMatico