There’s some new URL terminology to learn! You may have heard of the term “origin” before, but as of recently “site” is formally defined as well, thanks to @mikewest. Let’s walk through some examples.
-
Show this thread
-
Same “origin”: same scheme, host, and port
https://example.com/foo + https://example.com/bar
https://example.com/ + https://sub.example.com/1 reply 0 retweets 5 likesShow this thread -
Same “site”: same registrable domain
requires a lookup in https://publicsuffix.org/list/
https://foo.example.com/ + https://bar.example.com/
https://foo.github.io/ + https://bar.github.io/3 replies 1 retweet 11 likesShow this thread -
Replying to @mathias
Nice. Does the lookup mean that "https://foo.example.com ./" is the same site as "https://foo.example.com/ " (no dot) precisely when there's no DNS search suffix entry for http://foo.example.com ?
1 reply 0 retweets 0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.