Do you lose your page in the summer?

Source: Internet
Author: User
Keywords Slimming Summer

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

Today is the Yu Yanyan summer, it is wearing vest, short skirts, shorts and other "equipment" great beautiful good posture of opportunity! Many people are busy slimming, and you are prepared to give your page also "thin body". The so-called "slimming" refers to the structure of our site page and some optimization of the code, rather than just to the page file compression. Page thin body has always been a webmaster hot topic. The vast majority of our practice is to remove redundant code. Today, I share some of my experience in the thin page.

One: page Div refactoring

The biggest significance of the page slimming is to remove the garbage code, so that the search engine can be more smooth crawling our pages, crawl to the page important content. The div frame page helps to improve the speed of the face, and it will be more friendly to the search engine spiders. But as the designer of the page we all know that Div code produces a lot of CSS code, and this part of the redundant code will be to some extent hinder the spider crawling, so we design the page when we need to separate the CSS to save.

Second: JS script code thin Body

Our page bloated code contains asp.net generated viewstate, the page has not been encapsulated in the JS code, other systems automatically generated page garbage code and so on.

In general, if the page designer does not use some of the default templates or methods provided by ASP.net, ViewState can be cleared.

Three: The thin text of the page

The page text content is too long, the visitor opens the page the speed to be slow, the entire page cannot set the label, then the visitor experience greatly discounts. In this case, the general choice of the article for pagination processing, so that each page length of not more than 3 screen. This is not only conducive to the friendly experience of visitors, but also to search engines have great benefits.

Four: page image of the slimming

When we open a page, because the picture file on the page is too large, we have to wait a long time to load. Once this time exceeds the range that our visitors can afford, the visitor closes the page. The search engine is also so, search engine spiders crawl Our page picture, when it thought that this picture is too big, cannot crawl quickly, will think this picture has no real value to the user, thus abandons to the picture crawling, or reduces to the website the score.

Therefore, we design our site page, in addition to focus on the quality of the picture, but also take into account the size of the picture, so as to minimize its consumption of the load time.

Five: flash of thin body

When we do the page slimming, pay attention to try not to use flash to reflect the key parts of the entire page, such as navigation, content, links, etc., or when we can not avoid the use of flash in the form of an HTML site map to make up for, The specific way to do this is to add HTML links in the footer section and a link to a sitemap file in the HTML link to make the search engine more aware of the overall structure of the site.

The above is the author to share five points on the page thin body of the proposed direction, I hope in this summer can help more webmaster friends better for our site page slimming. Article by Ankang Photographic Network http://www.shepeng.com/original, reprint please retain the source.

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.