Code Minification is the process of streamlining source code in order to remove the white space, making it able to be parsed faster by browsers & bots.
Before minifying code, test it in a local sandbox in order to make sure that no issues are caused by making the changes to existing code, and do not test it on your live website.
How Does Code Minification Work?
When writing webpage code, there are whitespaces between lines of code.
When code is minified, the lines are condensed to be inline, while maintaining the characters & context of the original code.
As you can see, a browser or bot parsing the second image can process everything much faster as it is all contained in one line vs. having to skip down 1,000’s of lines to load.