Make back-to-top.js async
-
Have you considered making the trivial js modules ( back-to-top.min.js, menu.min.js ) load async? Right now, the Google Chrome Performance insights tab complains that they are each a Render blocking request.
if ( 'enable' === generate_get_option( 'back_to_top' ) ) { wp_enqueue_script( 'generate-back-to-top', $dir_uri . "/assets/js/back-to-top{$suffix}.js", array(), GENERATE_VERSION, array( 'in_footer' => true, 'strategy' => 'async', ) );
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Make back-to-top.js async’ is closed to new replies.