Which factors affect the website opening speed?

Source: Internet
Author: User

Which factors affect the website opening speed?
1. machine configurations include the hardware configurations on the server and client. In the same network environment, the computing power of dual-core servers must be stronger. Undoubtedly, in the same network environment, you can use a race Yang machine and a four-core processor computer to open the same webpage. The speed is certainly not the same. 2. How much server software, stability, and correct software configuration will affect the server environment and network speed. The installation of a software firewall on the server sacrifices some network speed. Therefore, the installation of a firewall on the VPS or an independent server is sufficient. 3. the size of the webpage content the size of the webpage file is the most important factor for the website to be quickly opened. If we cannot decide on the server or other hardware aspects, I strongly recommend that you start from here, whether it is a table or DIV + CSS, proper code optimization can reduce the page size. Optimize the code as much as possible, use the least code, and do not include the entire content in a box. At the same time, a large number of errors and redundant code are also one of the slow website speeds. 4. the minimum network bandwidth is the most important factor. When a slow website is accessed at the same speed (that is, more money is spent) with a good bandwidth, the network bandwidth includes two locations: the server bandwidth of the website and the client, the interconnection point refers to the connection between the egress end and the portal end (for example, China Telecom's connection to China Netcom), and the other refers to the minimum bandwidth of the user. If the user runs a K broadband, the user cannot help. 5. when a large number of database operations are performed on a small website, the website opening speed is also affected. Here, the asp + access structure of the website is particularly obvious, especially when a large number of users submit comments at the same time, the operation database is locked, and the website cannot be opened. 6. using a large number of javascript files on many javascript websites is a big taboo. Not only does the search engine not support indexing, but it also constantly submits requests to increase the burden on the server, such as mouse effects, column effects, and status bar effects. These special effects are first downloaded from the server to your local machine and then run and generated on your local machine before you can see them. After the special effects are done more, it takes more than half a day to complete the operation on your local machine. If your host configuration is normal, it will be slower. Therefore, we recommend that you use less javascript special effects. 7. we know that large images and FLASH are the most important factor in slowing down the network speed. After processing images, we can reduce the image space. The pictures in each blog post are processed, however, some images are not clear enough. Otherwise, many images will occupy a lot of space at the beginning, making the website open slowly. FLASH is also a truth. 8. if you reference images and video files from other websites, and the website is slow, or the page of the website does not exist, so you can open it very slowly. 9. DNS resolution time DNS resolution includes the number of round-trip DNS resolution times and the time it takes for each resolution. The product of the two is the time consumed by DNS resolution. Therefore, many people ignore the DNS problem, in fact, DNS is also very important to the Speed of website resolution, such as Google's recently launched Page Speed Service and domestic DNSPOD for free to provide DNS acceleration for domain names, you can try.

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.