Cloudflare pages and fLoc

Github pages has opt out from Google’s FLoC
So did Vivaldi and Brave.

Is it possible to add Permissions-Policy: interest-cohort=() header to websites hosted by Cloudflare Pages? If yes, how? and if not, are there any such plans for Cloudflare Pages?

Thanks.

1 Like

You can set the Permissions policy header with a worker (that’s how I do it)

The brand new Security Headers Cloudflare Worker is a good starting point.

This may come in the future (being supported by default)

If you have any more questions, I would recommend you join the Workers discord server