1. Summary
This article summarizes how to enable Gzip compression for websites hosted using IIS, thereby reducing the web page network transfer size and increasing the speed at which users display pages.
2. Preface.
The knowledge points of this article are collected from the Internet, mainly from the Chinese wiki. When using YSlow to detect which optimizations are enabled on the website, Gzip is a very critical item. Enabling Gip compression will immediately reduce the network transmission size of the page.
3. Overview of HTTP Compression
HTTP compression is a method of transmitting compressed text content between a web server and a browser. HTTP compression uses common compression algorithms such as gzip to compress HTML, JavaScript or CSS files. The biggest benefit of compression is to reduce the amount of data transmitted over the network, thereby improving the access speed of the client browser. Of course, it will also increase the burden on the server a little bit. Gzip is a relatively common HTTP compression algorithm.
Statement:
All resources on this website are contributed and published by netizens, or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this website are for learning and reference only. Please do not use them for commercial purposes, otherwise you will be responsible for all consequences incurred! If there is any infringement, please contact us to delete and remove it. Contact information: admin@php.cn