I have some javascripts that are generated that are causing slow loding time for may page. How can i move them to the bottom of page so the page will load faster according to google pagespeed insights
/includes/js/jquery/jquery.js?ver=1.12.4
/includes/js/jquery/jquery-migrate.min.js?ver=1.4.1
/js/avia-compat.js?ver=2
/includes/js/mediaelement/mediaelement-and-player.min.js?ver=4.2.6-78496d1
/includes/js/mediaelement/mediaelement-migrate.min.js?ver=4.9.1
Hey Designbully,
For Enfold avia.js and jquery.js must be in the header or the theme will brake. For the others you could try a plugin such as Scripts To Footer it offers a “Keep jQuery in the Header” checkbox in the settings and a filter to exclude scripts such as the avia.js.
Best regards,
Mike