Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
Let's start by defining what gzip is. GZIP is the abbreviation for Gnuzip, it is a GNU Free software file compression program.
So, since Gzip is a compression, it is compressed is the size of the file, for the site, we can simply understand that it compresses the size of the HTML file. When Web pages become smaller, correspondingly, the less time it takes to transfer over the network, which means that users open up what they want to see more quickly. Of course gzip can not only compress. html files, like. css and. js files can also be compressed.
The simple understanding here is just to get you to understand gzip faster, but I personally think that the biggest effect of gzip is to compress the size of the. html file. This is also the focus of this article. For example, your home page index.html file size of 100kb, compression is 50kb, then we can calculate this way, your home page open speed up one times. In fact, gzip compression rate will be a bit higher, such as it compressed 100kb to 30KB, the corresponding site will open faster.
You may think that since the generation of static. html files, the site has been opened a lot faster. But there's no reason to stop us from opening the site faster. The real site, less say there should be 1000. html file, the larger site is more. In this way, gzip this feature is very necessary to open up. Especially you are using foreign host space, as long as can improve the opening speed of the site, we should not let go of every detail, and gzip brought about by the speed of Ascension is not a little bit.
So, the domestic big website all enabled gzip? Let's use the data to talk, please see this form below.
In fact, you can hardly find any big web site without enabling gzip, the server configuration and performance of these large web sites as well as professional technical maintenance, presumably personal site is far from the bar. If they're all enabled
Gzip to improve the speed of the site open, we are waiting for what?
Well, the advantage of gzip compression is that letting users open our web site becomes smoother. How do we enable gzip for our website?
Before I start, I'm telling you, opening gzip may take only 10 seconds! Here I have my IIS6 for you to do a graphic tutorial.
We open Internet Information Services (IIS) Manager and select Web site on the left, noting that it is not a specific Web site. Then right-click on "Properties" and click on the "Services" tab. In the "compressed static file" Before the tick, then specify the "temporary directory", such as I assigned to the D:\yasuo, this folder is of course you customize, as you like, call anything.
Take a look at the picture below
It's really easy to make sure that we're done with gzip enabled.
I'd like to say one more thing, you might see it somewhere else. Gzip To manually add a god Horse server extension, fill in "C:\windows\system32\inetsrv\gzip.dll" I think this is a misleading, in fact, not necessary, of course, if you do so, There is no consequence.
Since gzip compression will not take effect until IIS restarts, the last step is to restart IIS.
Restart steps: Click Start Menu---> Run---> enter "cmd"---> Return. Enter "iisreset" at the command prompt and return. Wait a little while. Take a look at the picture below
At this point, we have completed all the steps, in fact, 2 steps altogether. Next, of course, we're going to check if everything we've done has come into effect, except that you can feel the speed at which the site is being opened. Of course, we must use professional tools to affirm our work. It means using an online tool to check if your site is using gzip compression. It's simple, http://tool.chinaz.com/Gzips/.
Enter your URL to see this clearly.
My site: www.youhenduo.com