Minify js files

broken image

It is also common practice to combine all the CSS files for a single website into one file. This makes it difficult for the code to be read, thereby making it more difficult to reverse engineer or copy. Some devĮlopers will also use it to 'obfuscate' their code. Minimisation can make a script up to 20% smaller, resulting in a faster download time. The purpose of minifcation is to increase the speed of a website. They will also combine their many style files into one file. The 'best practice' of many developers is to maintain a 'beautified' version, and when rolling out their project will run the styles through a minification program. It also makes the CSS more difficult to read. These elements are not required for CSS to be used successfully.

broken image
broken image

Minifying CSS takes the beautified, well formed CSS code that you have written and removes the spacing, indentation, newlines, and comments.

broken image