You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have successfully cut down on the initial load time for my Nuxt/Firebase statically generated app by using your amazing lazy load functionality. (btw, I tried to do this on my own before and failed! thanks!)
Now I want to add the Performance module, and I know I have to call something like:
if (process.client) {
await this.$fire.performanceReady()
}
Is that enough to start logging performance data like network requests etc? Or do I need to do something more? Perhaps set this.$fire.performance.instrumentationEnabled to true
And, where in a typical Nuxt app would you call this? I don't want the loading of the script to delay my user's interaction with my site, but I'm worrying that initializing it lazily will mean it never gets the various traces right, such as 'first contentful paint', considering that it might start the clock too late.
I looked around the documentation but didn't see any references to this.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have successfully cut down on the initial load time for my Nuxt/Firebase statically generated app by using your amazing lazy load functionality. (btw, I tried to do this on my own before and failed! thanks!)
Now I want to add the Performance module, and I know I have to call something like:
Is that enough to start logging performance data like network requests etc? Or do I need to do something more? Perhaps set
this.$fire.performance.instrumentationEnabled
totrue
And, where in a typical Nuxt app would you call this? I don't want the loading of the script to delay my user's interaction with my site, but I'm worrying that initializing it lazily will mean it never gets the various traces right, such as 'first contentful paint', considering that it might start the clock too late.
I looked around the documentation but didn't see any references to this.
Beta Was this translation helpful? Give feedback.
All reactions