What is HTTP Compression Module?
HTTP Compression Module is an ASP.NET page and resource compression module. Although ASP.NET's VIEWSTAT is easy to use, it will make the output HTML code bloated. This is especially obvious in China where bandwidth resources are extremely limited. For ASP.NET websites The opening speed is obviously slow, causing the illusion of low performance of ASP.NET. The HTTP Compression Module is a compression module born under this situation. It can intercept the output content before the page is sent, compress it and then send it to the browser. It can not only intercept page output, but also intercept resource file output. The compression speed is extremely fast and the compression rate is high, up to 85%, which greatly reduces the amount of data transmission and speeds up page display.
Why do you need HTTP Compression Module?
How to improve the load capacity of a website has always been the focus of discussion among developers. A website that runs at high speed must not only have excellent architectural design, but also have a good network. The efficiency of program operation can be improved through improvements, but Network bandwidth is limited. No matter how fast a program runs, it will be as slow as a snail without bandwidth. So is there any way we can reduce our dependence on the network? The answer is yes. As early as when the HTTP 1.1 standard was released, browsers had already begun to provide support for compressed data, and web servers also began to support data compression. The famous Apache server provides gzip compression function, and IIS 5 can Gzip compression is implemented through plug-ins. IIS 6 provides gzip compression internally. When foreign websites generally support compression, China still does not pay attention to data compression, resulting in a waste of network resources. Almost all ICPs do not provide data compression functions. Even web developers rarely know about data compression, and look blank when it comes to data compression. As a company dedicated to in-depth mining of network information, Chengdu Xiecheng Digital Technology Development Co., Ltd. has urgently launched the real-time data compression module HTTP Compression Module.
What can HTTP Compression Module bring to the website?
HTTP Compression Module can reduce the amount of data transmission, greatly improve the response speed of the website, improve the user experience of the website, and retain some impatient visitors. Double the load capacity of the website. According to a survey report, 70% of domestic visitors care about the actual content of the website, and only 30% care about the appearance of the website. In foreign countries, the difference is even greater. Websites that can display the content as soon as possible will undoubtedly It gives people a better impression, retains users and brings more traffic.
What kind of websites should compress data?
All websites should compress compressed data. Compressing data does not change the content that users can see, but it greatly reduces waiting time and saves server bandwidth, and it only consumes very little CPU resources.
What kind of websites can use HTTP Compression Module?
As long as the ASP.NET website is running in the ASP.NET 2.0 environment, the HTTP Compression Module can be used.
Features of HTTP Compression Module
1. Just register it in HttpModules of web.config and it will run automatically.
2. High speed: After stress testing, the number of completion times of the HTTP Compression Module in local testing (regardless of network overhead) was only reduced by 6%-8%, while in the Internet environment test, the number of completion times increased by 300%-400%. It can be seen that it passed HTTP Compression Module, the server uses 1% of the CPU to save 50% of the bandwidth usage. This number is quite amazing.
3. Compatible: Data compression can be achieved without any modification to the original system.
4. Flexible: Through the configSections section of web.config, you can easily configure and exclude pages that do not want to be compressed (such as attachment download pages implemented through ASP.NET).
Expand