Minification is the method of reducing the web pages and script files with code and markup. It is one of the main techniques used in websites to minimize load times and the use of bandwidths. Mining dramatically improves web speed, and usability, translating directly into a better user experience. Minification refers to the process of removing obsolete or redundant data without affecting how the user-e.g interprets the resource: code comments and formatting, unused code elimination, use of shorter variable and function names.
Compress HTML • Delete text line breaks from code • Eliminate tab spaces• Substitute double spaces with single spaces Also available is the option of not compressing the HTML document header.
The main advantages of compression are decreases in hardware capacity, data transfer time, and bandwidth communication. That can lead to considerable cost savings. Compressed files require significantly less storage capacity than uncompressed files, which means you can not only transfer files more efficiently around a local computer but also send large files, full documents, and faster data over the internet. Uncompressed files can often get corrupt when a significant decrease in storage expenses is sent over the webbing.