Quickly, if you don't mind, what's the URL and browser version? Thanks again.
-
-
Replying to @slightlylate @ebaerbaerbaer
I ask because this might not actually be bad (depending on what context is making the requests, when they're used, etc.)
1 reply 0 retweets 0 likes -
Replying to @slightlylate
This is just regular Android Messages https://messages.android.com/ on Chrome 67.0.3396.99 (Latest)
1 reply 0 retweets 1 like -
-
Replying to @slightlylate @ebaerbaerbaer
Ok, have repro'd....it's actually not that bad. These are emoji images, aren't blocking anything (only load after login, so they could start sooner), and are being pre-loaded for use.
1 reply 0 retweets 0 likes -
Replying to @slightlylate @ebaerbaerbaer
They come in granularly, so aren't disturbing TTI...I'm actually pretty happy with how these load (although I'd say that given my druthers, I'd love to see these requested from a SW installation phase and not a document for memory reasons).
1 reply 0 retweets 0 likes -
Replying to @slightlylate @ebaerbaerbaer
Bigger issue for me is the size of the script bundle which is much larger than I'd like.
1 reply 0 retweets 1 like -
Replying to @slightlylate @ebaerbaerbaer
Looks like a Wiz app, so perhaps
@cramforce will have recommendations for the team about splitting things up.2 replies 0 retweets 0 likes -
Replying to @slightlylate @cramforce
I'm a little surprised to hear that. You're right that the TTI isn't impacted (
), it's still loading close to 8MB of png (should probably be WebP) over ~1250 requests. Why not an image font or a sprite sheet? More importantly, can you help me understand what I'm missing?2 replies 0 retweets 0 likes -
Replying to @ebaerbaerbaer @slightlylate
This is certainly so far out of the normal range that there isn't a best practice. Sprites shouldn't be used in H2 except maybe in extreme cases like this. But wether that is more efficient would just need to be benchmarked. TTI is a page load metric which isn't impacted here.
1 reply 0 retweets 2 likes
In the fullness of time, we'll see TTI as more than page-load (subsequent interactions can be measure the same way, normalizing SPA and MPA measurement), but you're right that sprites won't do much here except bloat memory use.
-
-
Replying to @slightlylate @ebaerbaerbaer
Here the app should probably switch to <link rel=preload as=image> to trigger the request to avoid decoding until display (since only a subset of emojis ever is displayed).
2 replies 0 retweets 2 likes -
Replying to @cramforce @ebaerbaerbaer
Yeah, that was also why I was suggesting doing the preload from the a SW install phase. Avoid bringing those resources into the renderer and decoding.
1 reply 0 retweets 2 likes - 1 more reply
New conversation -
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.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.