3 ms·
The “cut off” thing is generally legacy thinking, the web has moved on and you can reliably put a lot of data in the URI… https://stackoverflow.com/questions/41
by capecodes 11mo ago
The “cut off” thing is generally legacy thinking, the web has moved on and you can reliably put a lot of data in the URI… https://stackoverflow.com/questions/417142/what-is-the-maximum-length-of-a-url-in-different-browsers#417184 https://stackoverflow.com/questions/417142/what-is-the-maxim...
- domga 11mo agoLinks with lots of data in them are really annoying to share. I see the value in storing some state there, but I don’t think there is room for much of it.
- nozzlegear 11mo agoWhat makes them annoying to share? I bet it's more an issue with the UX of whatever app or website you're sharing the link in. Take that stackoverflow link in the comment you're replying to, for example: you can see the domain and most of the path, but HN elides link text after a certain length because it's superfluous.
- esafak 11mo agoSO links require just the question ID; short enough to memorize.
- nozzlegear 11mo agoSure, but the SO link was just an example. HN does it with any link, like this one which is 1000 characters long: https://example.com/some/path?foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat&foo=bar&baz=bat https://example.com/some/path?foo=bar&baz=bat&foo=bar&baz=ba... If the website or app has a good UX for displaying/sharing URLs, the length doesn't really matter.