1. What is gzip?A: gzip was first created by Jean-Loup gailly and Mark Adler for File compression in UNIX systems. We often use files suffixed with .gz in linux, which are in GZIP format. Nowadays, it has become a widely used data compression format
Modern browsers IE6 and Firefox support the client gzip, that is, the Web page on the server, before transmission, the first use of gzip compression and then transmitted to the client, after the client received by the browser to extract the display,
Locate the following two lines in the Apache configuration file, and then remove the comment # and reboot.
The code is as follows
Copy Code
LoadModule Deflate_module modules/mod_deflate.soLoadModule Expires_module
Nginx has gzip module http://wiki.nginx.org/NginxChsHttpGzipModule, this module supports the online real-time compression of output data streams. After good configuration optimization, can greatly improve the efficiency of the site's output.
__ Use
The quality of front-end development engineers is directly related to the speed of page access (JOHN: You know, using an extremely ugly table to set the pages made by the table is much more expensive than the simple Div and table pages, both in K
Gzip compression, is a Web site speed optimization technology, is also a SEO optimization tool, many websites have adopted this technology, in order to improve the speed of Web page opening, shorten the opening time of the Web page.This article is a
Note:
This post is completed one day and one night. Different from the general online articles, except for detailed descriptions of the entire configuration process and test process, especially in FastCGI, Microsoft's "web platform installer" is
This article describes how to compress pages to save website bandwidth and increase user access speeds.
The website access speed is determined by multiple factors, such as the application response speed, network bandwidth, server performance, and
Nginx Gzip module activation and configuration instructions, nginxgzip1. Set gzip parameters in Nginx
# Enable gzip compression service gzip on; # gzip compression requires applying for temporary memory space, assuming that the size after
Description
This post is what I have done all day and night, different from the general online article, in addition to the details of the entire configuration process and test procedures are detailed screenshots, especially in the fastcgi aspects
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.