After two days of Optimization keyword website ranking improved

Source: Internet
Author: User

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

Here are some of the key factors to be noted in optimization:

1 reduce the number of HTTP connections generated by one page access. One, as simple as possible page design, minimize the use of pictures, by giving up some unnecessary page effects to reduce the use of JavaScript; second, the use of some optimization techniques, such as the use of background images to reduce the number of pictures, image map technology; Iii. use of inline Images a CSS picture to a Web page. Try to merge JS and CSS files to reduce the number of independent files.

2 CSS at the top of the page, JS file at the bottom of the page. CSS reference to the header in the HTML header, JS file references as far as possible in the bottom of the page tag behind, the main idea is to let the core of the page content as soon as possible. However, note that some of the use of JS pages, there may be some JS files at the bottom will cause some unpredictable problems, according to the actual situation appropriate use can be.

3 to minimize the content of JS files. Specifically, the use of some JavaScript compression tools to the JS script compression, remove the white space characters, comments, minimize variable names. On the basis of using gzip compression, the compression of JS content can improve the performance by 5%.

4 Minimize the use of external scripts and reduce DNS query time. Do not reference too many external scripts in the Web page. First, a DNS parsing process consumes 20-120 milliseconds, and secondly, if too many external files (such as various ads, alliances, etc.) are referenced in the page, you may drag your site slowly because of the speed of the external file response. If you have to, then try to put these scripts in the footer, but the browser can only be processed in parallel to the same domain name two requests, and for different child domain name is not subject to this limitation, so that the site static content (CSS,JS) under other sub domain name (such as flash.in83.com) will help improve the ability of browsers to download Web content in parallel.

This article is provided by www.in83.com Author: Roy.chen.

Related Article

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.