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.
-
-
Specs: - same origin: https://html.spec.whatwg.org/multipage/origin.html#same-origin … - same site: https://url.spec.whatwg.org/#host-same-site
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
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 ?
-
New conversation -
-
-
Interesting! Can you give an example of when a public suffix lookup would be needed?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.
https://example.com/foo + https://example.com/bar
https://example.com/ + https://sub.example.com/
requires a lookup in