Minify CSS, HTML, JavaScript

We can reduce the amount of data the browser has to download by minifying HTML, CSS and JavaScript resources. Minification is the process of removing unnecessary characters like comments and whitespace from the source code. These characters are extremely useful in development, but they’re useless for the browser to render the page.

There are a number of plugins built to minify code. Autoptimize is one of the top rated free plugins for this task. You might also try the premium plugin WP Rocket which helps with site optimization, including minification.