It was? I'm reading the thread now, but the issue is open and I don't see anyone explicitly mentioning browser vendor signals
-
-
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
Seb Insua Retweeted Seb Insua
That's good to know! Otherwise, I was thinking that we could use feature detection on the client-side to generate an import-map that points at the correct URLs.https://twitter.com/sebinsua/status/1263219451534737413?s=20 …
Seb Insua added,
Seb Insua @sebinsuaReplying to @kristoferbaxter @DotProto @_developitCouldn't we just inline some feature detection code into the original `index.html` and then decide on the import to load depending on that? I believe you can even dynamically generate an import map as long as you do so before performing any imports. See: https://github.com/WICG/import-maps#dynamic-import-map-example …1 reply 0 retweets 0 likes -
Replying to @sebinsua @FredKSchott and
I don't think it's possible to construct an import map dynamically on the client.
1 reply 0 retweets 0 likes -
Replying to @_developit @FredKSchott and
The proposal seemed to imply that you could?https://github.com/WICG/import-maps#dynamic-import-map-example …
1 reply 0 retweets 0 likes -
Replying to @sebinsua @FredKSchott and
ahhh right you are! I always forget that's an option.
1 reply 0 retweets 1 like -
Replying to @_developit @sebinsua and
this helps a lot, but there's still a pretty gnarly issue which is that preloading (both link rel and the preload scanner) becomes impossible since it can't take this information into account.
3 replies 0 retweets 2 likes
Is the reason that this wouldn't work beause `<link rel="preload" href ...>` would need to know the correct URL and not an import name? And because these link tags can't be dynamically added into the page after feature detection prior to loading of imports?
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.