Loading scripts on idle #489
Replies: 1 comment 1 reply
-
This is actually the default behavior for most scripts. The default trigger is useScript('..', {
trigger: 'onNuxtReady'
}) Some scripts need to come in earlier for their own specific reasons. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to load scripts only when the browser is idle ? Basically reducing the impact to the minimal possible.
Example if I have a chat widget on the page I want it to only load after everything is done, from what I was reading even using defer and fetchpriority low is not enough. ( I may be wrong )
Beta Was this translation helpful? Give feedback.
All reactions