Why Web pages are slow to load

Source: Internet
Author: User

Analysis Tools:

(1) Mmtrix performance Rubik's Cube: http://www.mmtrix.com/

(2) Firefox YSlow plugin http://www.cnblogs.com/AustinAn/p/3560906.html?utm_source=tuicool&utm_medium=referral

(3) Google Chrome's page speed plugin

Performance Optimization Reference article: http://www.cnblogs.com/AustinAn/p/3560906.html?utm_source=tuicool&utm_medium=referral

Front-end issues:

1. The use of JavaScript effects, not only can not be crawled by the search engine, but also because of the constant request to the server, resulting in the burden of adding servers, the site slowed.

such as mouse effects, program effects, the effect of the status bar, these special effects of the principle is first downloaded from the server to the user's machine, and then run on the local machine, and eventually be seen by the user. Special effects do more, users on the local machine will run for a long day.

2. Excessive referencing of content from other sites

Examples include images, video files, etc. that refer to other sites. If you link to a website that is slow, the user will be very slow to open the page

3. Page Content

If the page contains a large number of unprocessed photos, and the photos are large, it will cause the speed of the opening to slow;

Other, such as Flash and movie files, will affect the speed of access;

Redundant code is also one of the reasons for slowing down the speed of your site. Optimize the code as much as possible and achieve the best results with minimal code.

4.js Blocking requests

There is a large gap between the two successive requests, probably because of the writing JS performance problem, parsing execution JS took a long time, resulting in the time of the resource load is blocked.

5. Excessive number of requests

If the onload has hundreds of rows before it, there are too many requests.

CSS, JS merge the merge, the icon with the sprite, using the font icon, some unimportant things can be placed after the onload load.

Back-end issues:

1. Database operations

It takes a long time to find data from a database, and it may not be logically concise

2. Request too long, a request takes too long

may be resources on third-party sites, they are slow;

This resource is too big;

There is a problem with the domain name used by this resource

3. Very long time to receive data

Probably because the content of the download is too heavy, such as big picture, big script, etc. This type of problem is solved using gzip compression or JS/CSS minify.

Some other questions:

1.DNS resolution Speed

2. Server software such as server configuration software firewalls can cause network speed to be affected.

3. Network Minimum Broadband

Why Web pages are slow to load

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.