www. https://www.webpagetest.org/result/190801_F3_da6fb51b434d660cfbec72ee3ed7e8e7/ … next. https://www.webpagetest.org/result/190801_TD_8160b68f5321ba873675bb2128880b63/ … would love any thoughts / feedback
-
-
Replying to @FredKSchott @slightlylate
Prefetch google analytics, looks like there is a waterfall between GTM and GA and a DNS lookup and connection bottleneck causing a gap between DomContentLoaded and DomInteractive (if I'm reading it right?)
1 reply 0 retweets 1 like -
Super curious about this Google Analytics waterfall.
1 reply 0 retweets 1 like -
Replying to @mikesherov @slightlylate
Yea same, i marked the script as both async in an attempt to make sure it didn't effect the main app load time, but the browser may be doing something strange regardless. <script async defer src="https://www.googletagmanager.com/gtag/js?id=UA-130280175-1 …"></script>
1 reply 0 retweets 0 likes -
Which is a shame because it's the one asset that I can't really host myself (or at least, it isn't recommended)
1 reply 0 retweets 0 likes -
Replying to @FredKSchott @slightlylate
You can choose to load it directly tho instead of through GTM. Older GA instructions used to load it directly. Nowadays it advises GTM, but you're not a marketing manager, you are likely just using GA
1 reply 0 retweets 1 like -
Replying to @mikesherov @slightlylate
yea that's a great point, I should at least look into it
1 reply 0 retweets 1 like -
Replying to @FredKSchott @slightlylate
Oh wait! You're using "defer"... don't do that! You only want <script async> for GA. defer explicitly tells it to only execute after page has parsed.
2 replies 0 retweets 2 likes -
-
okay made the change and retested, but results aren't too different: https://www.webpagetest.org/result/190802_SD_d1b7efa3c6bc8340d73bcf33fbde623a/1/details/#waterfall_view_step1 … My new guess is that modulepreload isn't actually loading transitive deps, and that they only load once the client-side router executes and triggers a full import.
2 replies 0 retweets 1 like
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.