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

Disable FLoC #71

Open
sumanthratna opened this issue Apr 30, 2021 · 0 comments
Open

Disable FLoC #71

sumanthratna opened this issue Apr 30, 2021 · 0 comments
Assignees

Comments

@sumanthratna
Copy link
Member

Background

We do this on our main website (because of GitHub Pages). To be honest, I doubt FLoC will learn anything really useful from people who use Live, but it doesn't hurt to set this header.

(see https://www.eff.org/deeplinks/2021/03/googles-floc-terrible-idea for why FLoC is bad. SvelteKit has recently adopted this change)

Implementation

pretty simple, just set the header in a middleware so it's applied on all responses

https://stackoverflow.com/a/36099405/7127932

@sumanthratna sumanthratna self-assigned this Apr 30, 2021
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

1 participant