Slow web font? Lemme intervene!
Blink temporarily gives up on a web font if it takes more than 3 seconds to download.
On 2G connections, Blink bails out on more than 40% of the web fonts requests (Android all types of connections: ~5%).
Assuming that we can predict such an outcome, it would be a better user experience if we fallback immediately.
In essence, we want to trigger CSS font-display: optional for users on slow connections if the web author didn’t specify any particular behavior.
Alternatively, CSS font-display: swap if font-adjust has been specified or if we can swap without impacting the user experience.
--
You received this message because you are subscribed to the Google Groups "intervention-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to intervention-d...@chromium.org.
To post to this group, send email to interven...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/intervention-dev/c0827b42-3463-47cc-be5a-b17e0470cc90%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/intervention-dev/CADh5Ky0DiqTY2suBTZk_-9y5pmH1DdtyNdvtWCPMiu0Y1Ow%2Bcg%40mail.gmail.com.
@Dimitri - We could potentially put something in a header that essentially says "slow connection, font-display will be set to optional". Alternatively, we could have some common reporting infrastructure for all interventions. Chrome could bundle all the interventions that trigger and send them to the site owner.
On Friday, September 11, 2015 at 1:32:23 PM UTC-7, Dru wrote:@Dimitri - We could potentially put something in a header that essentially says "slow connection, font-display will be set to optional". Alternatively, we could have some common reporting infrastructure for all interventions. Chrome could bundle all the interventions that trigger and send them to the site owner.We might not have enough information upfront to know which interventions we might want to trigger. A trivial example is a user on a relatively fast connection that then gets blocked on a slow request (e.g. overloaded server, routing issues in the network, etc) for a critical asset.- If we know certain constraints ahead of time (budget, slow connection, etc), we should communicate that upfront to allow the server to do its best- We should trigger interventions based on as-it-happens feedback (e.g. the page is ready to render after X seconds but we're blocked on a font that's yet to be dispatched.. bail), and then notify the origin that the intervention mode was triggered
On the subject of reporting infrastructure.. Do we have any existing sketches for this? We already have multiple overlapping but slightly different reporting implementations (CSP, Domain Reliability / NEL, Key Pinning), which I'd love to collapse into a single well-defined mechanism.
On the subject of reporting infrastructure.. Do we have any existing sketches for this? We already have multiple overlapping but slightly different reporting implementations (CSP, Domain Reliability / NEL, Key Pinning), which I'd love to collapse into a single well-defined mechanism.+1! Would love ideas here.
--
You received this message because you are subscribed to the Google Groups "intervention-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to intervention-d...@chromium.org.
To post to this group, send email to interven...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/intervention-dev/CADXXVKps96LFfowyHpjf9JG2oR%2B%2BMcZ--wbdTES7uMXRno8h7g%40mail.gmail.com.
If it works, I would like to be in that meeting too. I have some requirements for other ideas :)
I'd like to be included to keep up with any developments.
--
You received this message because you are subscribed to the Google Groups "intervention-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to intervention-d...@chromium.org.
To post to this group, send email to interven...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/intervention-dev/05b6c852-e316-4ae0-bd19-6d98194e3c16%40chromium.org.
In other words, for the intervention, we might want to have a similar policy for both font-display: auto and font-display: block: if we can predict that the user will hit the block timeout based on their current network characteristics, we fall back immediately rather than waiting.WDYT?
--
You received this message because you are subscribed to the Google Groups "intervention-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to intervention-d...@chromium.org.
To post to this group, send email to interven...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/intervention-dev/CADLGQyBEHfWCisfEQyPoe1a6KqHkj3rgBOQ1%3DfOFnWxue3oyVg%40mail.gmail.com.
Thanks Kinuko. Not applying the intervention when a non-default font-display is specified SGTM. I do want to keep that option on the table longer term, but I agree that it's unclear if that's the right thing, so let's defer that aspect for now. Landing font-display and then applying the intervention when font-display is not 'auto' sounds good to me.+1 to not waiting more than 3s from page load rather than 3s from font load.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/intervention-dev/CADLGQyDqW4Tp1VYAnPkAOWp6i2de6Z88_QOD67H7w1gsGegZgg%40mail.gmail.com.