Description
Injecting secondary reporting scripts directly within the layout root blocks the initial page parsing path, reducing initial load speeds.
Technical Requirements
-
Refactor auxiliary script loaders to utilize Next's native Script helper tag.
-
Apply explicit strategy="lazyOnload" parameter conditions to defer script execution until after the core dashboard finishes rendering.
If you find this implementation useful, please star the project and leave a review! 😊
Description
Injecting secondary reporting scripts directly within the layout root blocks the initial page parsing path, reducing initial load speeds.
Technical Requirements
Refactor auxiliary script loaders to utilize Next's native
Scripthelper tag.Apply explicit
strategy="lazyOnload"parameter conditions to defer script execution until after the core dashboard finishes rendering.If you find this implementation useful, please star the project and leave a review! 😊