This post is not sponsored by Jetpack and contains no affiliate links.
Jetpack is a great plugin that has a lot of features. If like us, you don’t use any of the front-end features of Jetpack then disabling the Jetpack CSS file will save you around 12kb from your load time.
Warning. This is for developers only. Always take a backup before making code changes – you should only do this if you don’t use any front-end features. For example, you just use the stats, image CDN or brute force protection.
Doing this is quite simple – just a few lines in your theme (or child theme) functions.php file:
add_filter( 'jetpack_sharing_counts', '__return_false', 99 ); add_filter( 'jetpack_implode_frontend_css', '__return_false', 99 );
If you have any sort of caching enabled on your site then you may need to purge this to see the change.