Making Wordpress faster is an ongoing experiment. There's a few more things I've discovered which can be removed for small (albeit in this case, VERY small, speed gain). DNS prefetching Google fonts and S.W.org which pulls files from the WP repository.
add_action( 'init', 'remove_dns_prefetch' );
function remove_dns_prefetch () {
remove_action( 'wp_head', 'wp_resource_hints', 2, 99 );
}
Top comments (1)
Amazing! Thank you for the easy tutorial 🙌