The Influence of Web page code size on SEO and its optimization method

Source: Internet
Author: User

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

Page size of the page code is a common SEO indicators, the same impact on the SEO effect, is to do SEO need to consider one thing. Optimize the volume of the page, you can improve the speed of the Web page, so as to improve the user's access experience, but also for SEO, can improve the speed of the spider's Access, help search engine on the site's index experience. We know that search engine spiders stay in a site time is certain, a single page volume reduction, speed up the spider indexing speed can increase the number of pages included.

How much should a page's code size be controlled?

This seems inconclusive. My suggestion is to control the 35K to 100K or so, of course, in the case of other conditions, the smaller the page the better. Let's first clarify what the concept of the page volume here is. Some SEO novices may ask, if my page HTML source code has 30K, where there are two pictures on the page, 100K and 80K respectively, there is an external reference to the CSS file, there is 15K size, the page also has a 2M audio file, so the size of this page? Most people admit that this page size is 30K. Think of the page size is actually refers to the page's source file size, is the server explained the output of the HTML document, does not include an unexplained PHP language, ASP and other languages, also does not include flash, pictures, audio, video files, etc., also does not include external calls ( If you write directly in the source code within the page is not in this category of CSS, JS files. But firefox a plug-in yslow analysis of the page size includes most of the above content. In fact, from the other hand to consider pictures, external CSS, JS is also the place to optimize.

Second, the search engine spiders can index and included the size of the page? Different search engines have different processing capabilities, from 100 to hundreds of K.

Specifically reduce the volume of web pages mainly from three aspects:

First, reduce the page HTML volume. For example, to change the site to div structure, reduce redundant HTML code (such as the page font, bgcolor, such as formatting control code, especially recommended to use the Web page to edit the Super Toolbox to clear word entrainment format code), speed up the page display, reduce the volume of the page; Use table layout to be aware of the organic combination of CSS, reduce the use of nested tables to reduce the HTML volume of the page. At the same time, the separation of CSS and JS to the external call file, HTML code as much as possible to display text content, for particularly long articles, pay attention to reasonable segmentation and pagination.

Second, reduce the volume of other elements of the page. Optimize the page source file size, you should also consider the overall size of the Web page to lighten, that is, the page includes pictures, video, audio, external CSS files, js,flash animation and other files to optimize. We will not start this.

Finally, you can turn on server compression, such as G zip compression.

Source: http://www.semshare.net/

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.