Nothing to do to teach the webmaster how to optimize

Source: Internet
Author: User
Keywords Flow

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Often see some irrelevant news in A5 and CN. such as big business competition and nouveau riche. I am here to explain that the Internet is not the case. The site is built on the webmaster itself. Not that you earn less today than others, you should stop providing services to your site.

Kung Fu comes from 3 major elements: that is, I often say to subordinates "3S"! What is "3S" is server+site+system!

The server belongs to the database datacenter correction. including Keep-alive, Caching, Gzip, Connection optimize and so on. Take the same: Keep-alive can enhance the user browsing speed, the webmaster will ask why? Because the keep-alive is the port to open and wait for ACK response. So the user itself linked to the site can save speed as high as 30% link speed! Continue to add Expire7 days in conf, you can achieve quite good preservation effect. More optimization can be: http://lightspeednow.com/try!

Site is the content element that belongs to the website. Includes pictures, design, JavaScript speed, and more. Simply say javascript: JS can be compressed. But as a compression does not put him in the gzip. is the JS source profile to enhance the user download speed. For example, Car_num = 0; Become c=0; This can reduce the JS file. The http://www.minifyjavascript.com/Web site is compressed through gzip and becomes very, very small files.

System is more difficult, is to do script Optimize,sql Query speed/query cache and so on. I will not teach this. Because different source code has different optimization methods.

If users put the site in a CDN, they can also improve the user ping and download speed. Here's an example:

Main_function.js (100kb-1kbps download speed-200ms Ping)

-> through compressor to improve main_function.js (32kb-1kbps download speed-200ms Ping)

-> Web site gzip compression main_function.js (5kb-1kbps download speed-200ms Ping)

-> is placed in a CDN to deliver main_function.js (5kb-20kbps download speed-10ms Ping)

-> set expire 7 days main_function.js in the website (5kb-20kbps download speed-10ms Ping-File save one weeks)

So originally an IP user needs to open 1000 JS files, will become a one-week open. The original 100kbx1000=100,000kb into the 5kbx1=5kb! save a height of hundreds of times times it! Not only in the file download reduction, download speed upgrade, there are cacheexpire help users browser save files.

A JS file alone, you can do this optimization speed and improvement. Making a website is not that simple. If the webmaster does not spend a little time to study and hone carefully, it will not be practiced Kung fu. The worst thing about webmasters is that they want to do Groupon and get 15 billion of the investment. Webmasters do not dream, those are the rich family of children used to do stock tools. Stationmaster is the most important thing is to do. The network market is still very big, the future is still very good. Only now the economy is too bad, affecting the owners of income.

Many typos, everybody sorry. Because I am not good at Chinese.

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.