Check Usability Before Searching For How To Remove jquery.js and jquery-migrate.js in WordPress
Removing both these files –
jquery-migrate.js by deregistering the scripts and then injecting the scripts in some way can pathetically break certain plugin’s function. The reason possibly is the order of HTML5 DOM loading via scripts. You can expect abnormal functions of syntax highlighter, image slideshow plugins on the fronted.
It might happen that removal of only one will not break your website. But removing both the default core files, even compromising Page Speed CDN Tick is acceptable if everything goes rightly. All of us making the WordPress faster by combination of multiple plugins, manual codes in theme’s
functions.php file. For logical conflict, many things which are not expected can happen.
Forget more complex factors like server side caching, implementation of CORS, DNS caching, HTTP Caching. Front end designing has been so much difficult, that sometimes we need to compromise. Not all, essentially can pay a better front end designer or might not like all the modifications done by him/her. A bit compromise :
How To Remove jquery.js and jquery-migrate.js in WordPress
This is for removing
add_filter( 'wp_default_scripts', 'remove_jquery_migrate' );
function remove_jquery_migrate( &$scripts)
$scripts->add( 'jquery', false, array( 'jquery-core' ), '1.10.2' );
And this is for removal of
You can see a dream like score with this design with WordPress :
If we load more images inside a post, our score will get worser. Additionally Ads will decrease the score. We are retaining the function of default
jquery.js loading, because simply – you would be unable to copy the above codes if we disturb the sequence.