Closed (fixed)
Project:
Partytown 🎉
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
4 Nov 2025 at 11:52 UTC
Updated:
3 Feb 2026 at 17:24 UTC
Jump to comment: Most recent
Seeing as Atomics is now widely available I think we should add some response headers so partytown can make use of it.
For me the biggest benefit would be getting rid of the very annoying proxytown requests but it may also bring some performance gains.
Any thoughts @abenbow?
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
abenbowHey @rattusrattus, this looks really interesting! I wasn't aware that this was a feature we could support.
I'm taking a look at the docs on partytown and this looks pretty promising as something we could roll into the existing module.
It looks like if anything with the atomics system goes wrong, partytown falls back to the traditional service worker system, which is good in terms of feature detection and legacy support.
If I'm reading this correctly, we're essentially enabling two headers sitewide, correct? If so, I think we may need to provide a way for users to toggle that particular feature so they have some more fine grained control over if/when those headers show up in the response. At minimum, I'd propose a module hook so that administrators have some control over the experience for a given page or pages. A toggle in the admin UI would also be good.
What are your thoughts?
Comment #4
rattusrattus commentedHi abenhow
Thanks for this. It looks good to me. Should we merge or is there more you wanted to do?
Comment #5
abenbowI think we're clear to merge if you're satisfied with it. Thanks for taking a look!
Comment #6
abenbow