Behind this barbarous word hides a very simple technique: it is to compress a file up to reduce its weight. To do this, remove all code comments, line breaks and unnecessary spaces in the file.
Yet with a few lines of code, it is possible to optimize the weight of our files without plugin. For example, to reduce the weight of HTML files from a WordPress theme, copy the following code in the functions.php file at the root of your theme:
Similar Article : 10 tips for choosing a WordPress plugin
Minify HTML files to a WordPress site without plugin Reviewed by Blogging Chimp on March 04, 2015 Rating: