Skip to content

Disable FLoC #71

@sumanthratna

Description

@sumanthratna

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions