Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why does Chrome need this repository? #213

Open
coderbyheart opened this issue Jan 21, 2024 · 2 comments
Open

Why does Chrome need this repository? #213

coderbyheart opened this issue Jan 21, 2024 · 2 comments

Comments

@coderbyheart
Copy link

I am curious to understand the rationale behind this repository. It is very much against the decentralized nature of the web to maintain the list of related domains to a website in a centralized repository.

I am fine with maintaining a /.well-known/related-website-set.json on my websites, but it is a big hassle to provide this information in a static form here.

The reason is that I am using serverless backends, that give me endpoint domains like https://<random string>.execute-api.eu-west-1.amazonaws.com/. So I would need to go through the extra effort to put these endpoints behind a static domain name in order to keep the information in this repo up to date.

Why can't chrome just fetch the /.well-known/related-website-set.json file on first visiting the website and discover related websites from there? You could even cache this file (while honoring it's caching headers) and serve it to other users.

@thegreatfatzby
Copy link

thegreatfatzby commented Jan 25, 2024

@coderbyheart think this might give you the short term answer WICG/first-party-sets#128

EDIT: more info WICG/first-party-sets#180

@maliamungutoha
Copy link

How can I help you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@thegreatfatzby @coderbyheart @maliamungutoha and others