How can remove render block from jQuery?

Linked with a src bottom of page?

Whats do wrong?

Please explain the problem in greater detail. What do you expect? What happens instead? Is it about pagespeed insights score? Where’s the code?

1 Like

Yes google page insights show that.

Following theme:

http://preview.oklerthemes.com/porto/6.2.0/index.html

Remove render-blocking JavaScript:
http://preview.oklerthemes.com/…-switcher/style.switcher.localstorage.js
http://preview.oklerthemes.com/…/6.2.0/vendor/modernizr/modernizr.min.js
Optimize CSS Delivery of the following:
https://fonts.googleapis.com/…300,400,600,700,800|Shadows+Into+Light
http://preview.oklerthemes.com/…0/vendor/bootstrap/css/bootstrap.min.css
http://preview.oklerthemes.com/…font-awesome/css/fontawesome-all.min.css
http://preview.oklerthemes.com/…rto/6.2.0/vendor/animate/animate.min.css
http://preview.oklerthemes.com/…line-icons/css/simple-line-icons.min.css
http://preview.oklerthemes.com/…owl.carousel/assets/owl.carousel.min.css
http://preview.oklerthemes.com/…arousel/assets/owl.theme.default.min.css
http://preview.oklerthemes.com/…or/magnific-popup/magnific-popup.min.css
http://preview.oklerthemes.com/porto/6.2.0/css/theme.css

snippet…

The general tips provided by the tool are good. There’s no definite answer though, as it depends on how you use jquery. Can you delay its load, do you use it for rendering? Just play with it and see if you get any regressions.

I try to add for jquery async in script tag. But that way the whole site stoped to display. lol?

async defer? just jquery need that or other scripts too?