Http compression is a method for transmitting compressed text content between web servers and browsers. Http compression uses common compression algorithms such as gzip to compress html, webpage effects, or css tutorial files. The biggest advantage of compression is that it reduces the amount of data transmitted over the network and increases the access speed of the client browser. Of course, it also adds a little load on the server. Gzip is a common http compression algorithm. Gzip compression is configured on the deployed iis 6.0. The detailed test results are as follows.
Before gzip compression is enabled, visit the website homepage for packet capture analysis.
After gzip is enabled, clear the local ie cache and access the packet capture analysis again.
Before and After enabling, the page size is reduced by 89213 bytes, and the original size is reduced by 87%.
After gzip compression is enabled for css, js, and other files, the original 21100bytes files are compressed with a compression ratio of 80%.
The test result is shown in the tutorial http://www.port80software.com/tools/compresscheck.asp.
1 2