Four tips to help you get rid of the notoriety of the Turtle speed website

Source: Internet
Author: User
Tags mysql database

  

What is the first impression that visitors have on our site? It is not the design of our website, but the speed of our website. If a visitor takes a long time to open your site, your site will inevitably get a bad reputation as a turtle-speed site. The speed of the website is our website's life gate, it not only affects our optimization, but also affects the user's friendly experience. We must pay more attention to the speed of the website. So what can affect the speed of our website? I think the impact of Web site access speed of many elements, in addition to space instability, Web page code settings, plug-in use also directly affect the speed of the site. These are some details, if one does not pay attention to it can make your site into a turtle speed site. So what are the specific details? The author will do a simple second speed in the next article.

first, the server's stability, high efficiency and high speed

If you want to say a direct impact on the site speed of the factors, the most influential than the site's server hardware configuration, of course, this also includes the host's bandwidth and the quality of the circuit. In addition to the server's hardware configuration, at the same time, we have to consider the actual situation of our target visitors to challenge, for example, our site's target visitors are mostly from the south, and in the south to use China Telecom is the most people, we choose the server when we can choose a better telecommunications line server. Of course now there are dual-line server, but the general price is slightly more expensive, if the money on hand can choose a dual-line server.

Second, the code concise and efficient

At present, the main building station development language is ASP and PHP, at the same time with access, MySQL database. However, because of the lack of familiarity with the code, it is often easy to produce a lot of irregular code that causes the site to become cumbersome. Cause the data read of the database is too slow, affect the overall speed of the site. To this problem we can simplify the code to make the execution of the code more efficient. At the same time standardize the site code to use the standard, improve the efficiency of the operation. And then improve the loading speed of the site.

third, the image processing

Believe that a lot of webmaster in view of our site will find that the overall framework of some pages have been shown in the browser, but is always in the picture loading, even in the final picture may not show, this problem greatly affect the user's friendly experience and site optimization. The domestic bandwidth is lower level, and a picture generally small dozens of KB, large may be on MB, assuming that our user's bandwidth is 2MB (the average level of domestic bandwidth), our site to be in such a low bandwidth load the picture need to spend time to imagine. Then we need to upload the image when the image compression processing. If there is sufficient funds, and the site's picture angle, you can consider renting a picture server to alleviate the picture loading time problem.

Four, the third party plug-in's cautious use

This point I have a personal experience: the author of a site in order to facilitate the flow of statistics, the Code of a statistical tool placed in the head of the site page. The next day there is a problem, the site's overall loading speed becomes very slow, or even a brief failure to open the situation. Originally the author thought is the server question, hence consults the space the provider, obtains the reply is the space does not have the question, but the problem is in the page head that one third party plug-in. This lesson also give the author a wake-up call, Third-party plug-ins do not casually join and placement. Some unwanted plug-ins may drag down the loading speed of your site, making your site a turtle speed site.

The above is the author of the site to get rid of the turtle speed site Four points of experience, I hope for everyone to help. Of course, there are many details, the author will not be introduced. This free space http://www.wanw.net.cn writing, A5 starting, reproduced please retain the source.



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.