From four aspects to radically change the site "turtle speed" status quo

Source: Internet
Author: User
Keywords Quartet

Intermediary transaction SEO diagnosis Taobao guest Cloud host technology Hall

From the SEO1.0 times whether there is a good content, to SEO2.0 times whether there is a higher weight, and then to today's SEO3.0 era to meet the needs of users? SEO goal in the process of optimizing the essence of the change, of course, we have also recognized the importance of user experience, and did not make the SEO about meeting the needs of users as a pseudo concept, so the webmaster began to rack their brains to continue the simple domain name, the construction of simple pages, simplify the operation process, set These measures are a great boost to the user experience, but there is a saying in China is very good, called hit Snake Dozen seven inches, to enhance the user experience in my opinion is to do a good job of user access to the site the first step, that is, to improve user access speed, only so that users can only stick to their own web site, So how to improve the speed of Web site access need to do Kung fu? I give you 5 suggestions.

Select the host provider for power

Before saying this, I want to give you a suggestion, is since to do a website, some money or to spend, such as a good note for the host service provider, not to cheap, to use the seemingly free space, although it is free, but the size of space, data transmission capacity and stability are not within their control, Once I found that there are 20 sites under an IP point, how fast can the site access speed? So choose a reasonable host service provider, not only can enjoy the quality of services, but also allow the service providers to maintain their own website. Why not? If your site is already online, then yourself the host service provider does not give force, I advise you or to replace the host service provider or upgrade the host, although the replacement of the Web server will bring some negative impact on their own site, so that the rankings fall and so on, but these are temporary, as long as the back of the work done well, The loss of the site can be found back.

Reduce the load on the website

Compress pictures and use static images as much as possible

Although the site does not have a picture will affect the interface friendliness, but it is well known that the addition of the image will make the site visit speed greatly down, so in the use of the picture must be a certain compression processing, Grassroots webmaster can use smush.it to do a compression of the image processing, in addition, I suggest that you try to use static content, flash can increase the gorgeous degree of the page, but for spiders, the slightest cold, spiders will not crawl any content, so the webmaster did is futile, even if you are a stand-alone host, I also suggest you as far as possible to use static screen, it is No, go to A5 mission area to find a master to get himself a pseudo static can also.

Reduce site load, remove or straighten external scripts

The statistic code is the external script that we often use, can effectively reflect the visit of the site, but when you use this tool, often put the statistics code in the content or div or table tags, once the site host open delay, will incidentally affect the statistical code loading speed, The result is that the speed of Web access is down, so for the statistical Code we discharge to the bottom of the page can be, of course, this is a kind of external script, such as traffic tracking system, such as we will often use, for such an external script can be deleted on the delete, can not delete the position of its location.

Properly handle code verbosity, embedding, and encapsulation issues

Streamline CSS Code

Now do the webmaster of the site is very large and not part of the grassroots class, for the writing of CSS code is not very deep, and they do the site, often in the Internet directly download the complete source code and then directly upload to their own website, and these code in use, will appear characters, carriage return, duplicate B label , repeated div tags, and unwanted redundant code, which is bad for the speed of the Web site. So webmaster in the process of building a website must learn the basis of the written prophecy, even if the use of the online download code also want to think of the changes, such as

main{

padding-top:1px;

padding-right:2px;

padding-bottom:3px;

padding-left:4px;

}

can be written

. main {padding:1px 2px 3px 4px;}

Embed ad code with IFRAME

Click Ads is the grassroots webmaster general profit way, but the grassroots webmaster may not know that the advertising code will also affect the speed of access to the site, in fact, the reason and CSS code is a bit alike, because the code has a lengthy content, for such a situation, the author suggested that you first embed the advertising code http:// www.xxx.com/inside, and then in the indirect link to the home page, so that the advertising code for the Web site load speed to minimize the impact.

Masks do not need to be included in the JS code

Now a lot of outlaws are through the JS code to attack the site, because a lot of anti-virus software and JS Code has a conflict, will be mistaken for the code is the virus to remove, so as to give hackers the opportunity, of course, this and the speed of the site is not related, but the size of the JS code itself The effect and Flash are the same as spider eyes in the chicken, so in the construction site must be the JS code encapsulation, reduce the occupancy rate of space.

Modify the construction strategy and daily maintenance of the chain according to the actual situation

The exchange rules of the You You chain believe me, I don't have to say, everybody knows, I just want to remind you three points:

First, links are preferably text links, and are all linked to a separate page.

Second, if the link must appear on the homepage, please put the entire table of the link to the bottom of the page.

Third, the link to the logo image of a turnover, the first download to their own web page space, and then linked to the target site, so that the speed of their own web site space decisions and not affected by the friendship site.

On the need to maintain the daily operation of the website, the author wrote an article before, said that the stability of the site and hacker attacks have a great relationship, so as a webmaster to regularly detect their own website operating conditions, timely reduction of some malicious code, especially some of the owners to buy cheap host, this is more important, The volume of malicious code is too large, will occupy a small space resources, seriously affect the speed of Web site access, so the webmaster to do a good job of the site maintenance.

Dozen snakes dozen seven inches, catch the thief first, the website wants to do the user experience, the website visit speed This first point, everybody must do well.

This article is from the giant towel gourd Water official website http://www.siguashui.net/, welcome reprint, thanks.

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.