sadly no such thing in browser land
-
-
Replying to @_developit @sebinsua
There's a proposal to do something like this: <script type="module" srcset="2018.mjs 2018, 2019.mjs 2019" src="2017.mjs"></script>https://github.com/whatwg/html/issues/4432 …
1 reply 0 retweets 0 likes -
it was rejected :/
1 reply 0 retweets 0 likes -
Replying to @_developit @sebinsua
It was? I'm reading the thread now, but the issue is open and I don't see anyone explicitly mentioning browser vendor signals
1 reply 0 retweets 0 likes -
As the original author of the proposal, I've stopped working on it due to a lack of interest from browser and standards groups. https://github.com/whatwg/html/issues/4432#issuecomment-472472184 … "I think that problem is already solvable with today's technology though."
1 reply 0 retweets 2 likes -
Is that still true with the UA string freeze?
2 replies 0 retweets 2 likes -
That's a good point. I was about to mention how CDN's like Pika by
@FredKSchott use the `User-Agent` to optimize for the environment that requested a package. Is this a dead-end?https://www.infoq.com/news/2020/03/chrome-phasing-user-agent/ …1 reply 0 retweets 1 like -
I believe Sec-CH-UA is set to replace it, which has all the info Pika CDN (and others) need:https://github.com/WICG/ua-client-hints/blob/master/README.md …
2 replies 0 retweets 1 like -
Replying to @FredKSchott @DotProto and
Hm, I was just reading around this, and according to the `ua-client-hints` proposal differential serving is one of the major use cases. However, Mozilla's position on the standard is that it's "non-harmful" but not their preference or worth prototyping: https://mozilla.github.io/standards-positions/#http-client-hints …
1 reply 0 retweets 0 likes -
Replying to @sebinsua @FredKSchott and
At the same time, when I asked
@domenic about the usage of feature detection and import maps to aid in serving versions of packages with the correct syntax it appears that Chrome is more positive about a server-side approach:https://github.com/WICG/import-maps/issues/55#issuecomment-631769642 …1 reply 0 retweets 0 likes
I just realised there are two copies of `client-hints` and I linked to the older one. The new standard position is: https://mozilla.github.io/standards-positions/#ua-client-hints …
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.