About gzip?

Source: Internet
Author: User
About gzip? What is gzip compressed ?? Only compression code? Or will the remote resources in the code, such as jpg and js files, be compressed?

What is his general implementation principle?


Reply to discussion (solution)

Html compression algorithms do not involve images

G-ZIP reference apache mod_deflate
Original article: http://httpd.apache.org/docs/current/mod/mod_deflate.html
English: http://www.phpchina.com/resource/manual/apache/mod/mod_deflate.html

For CSS and JS, you can search for keywords by yourself:
CSS Minifier
JavaScript Minifier

Currently, the network is so developed that no answer can be found. only you cannot find the answer.

We often use files suffixed with .gz in linux, which are in GZIP format. Nowadays, it has become a widely used data compression format on the Internet, or a file format.
GZIP encoding on HTTP is a technology used to improve the performance of WEB applications. Large-traffic WEB sites often use GZIP compression technology to make users feel faster. This generally refers to a function installed on the WWW Server. When someone visits the website on this server, this function in the server compresses the webpage content and then transmits it to the visiting computer browser for display. generally, the plain text content can be compressed to 40% of the original size. in this way, the transmission is faster, and the result is that you click the URL and it will be displayed soon. of course, this will also increase the server load. this function module is installed on servers.
Hope to help you

A technology that improves server performance.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.