Literally, construction should be a multi-faceted and multi-angle construction behavior and a comprehensive process.
What should be considered in the process of website construction?
1, website speed
2. The charm of the website
3. User experience of the website
4. Website security
5. The matching degree between the website and the needs of the enterprise.
6. The life cycle of the website
7. Choose a good service provider
The Internet has a famous 8-second principle: when customers visit a website, if the download time is too long, they will give up the visit. According to the survey, nearly 50% users stopped visiting their favorite websites because of unstable web pages or slow download speed.
Refers to the speed of opening our website, whether it can be opened in 1s or 5S or even longer.
If it is very short, such as 0.5S, then congratulations, your website is very fast. If it exceeds 3-5 seconds, it is a very unsatisfactory value. If it takes more than 8 seconds, visitors will get impatient and even close the page directly.
What information does the speed of the website have to do with?
First, the size of web content;
Web pages include text, product pictures (static and dynamic), videos, Flash files, etc. The principle of the browser is involved here. The technical principle of the browser is to download the web page to the local cache of the client, and then analyze the source code through the browser to compile the pictures and words that users can read normally in the browser window. Therefore, the size of the webpage file determines whether the website can be opened quickly.
Second, network bandwidth.
The bandwidth of the network includes two locations: the docking point and the client. The docking point refers to the exit end (such as the docking point of telecom to Netcom), and the other is the bandwidth of the browser itself.
Third, DNS resolution time:
Including the number of round-trip parsing and the time spent on each parsing, and their product is the time spent on DNS (what is DNS) parsing; Many people ignore the factor of DNS. In fact, DNS is also very important to the speed of website resolution.
Four, the configuration of the server and client:
Including the whole hardware configuration of the server and the client, in the same network environment, the computing power of the core quad-core server is definitely stronger, no doubt; In the same network environment, using Celeron and Core Quad-core processors to open the same web page, the latter is definitely much faster.
Based on the above four points, we can get the calculation formula of the total time of web page visit:
Web page opening time = Web page content size/minimum bandwidth+parsing times * each parsing time+server processing time+client parsing time.
It can be seen from the above calculation formula that the webpage time can be reduced by increasing the bandwidth of the network, but it should be noted that the bottleneck in the network is not necessarily the user's access point, but probably the docking point between different network operators.
For the same user downloading the same page, the first item, that is, the ratio of the page size to the minimum network bandwidth, is basically the same. The third processing time refers to the processing capacity of the server and the user PC, which changes with the load of the website server, so the stronger the processing capacity of the website server, the better the response time will be. Under the same conditions, the second term of the formula will have an important impact on the response time. The server processing time here is about the same.
What we do is to reduce the time spent on DNS resolution as much as possible, because only shortening the time interval between the website and users is the most effective way to improve the access speed, and push the content that users want to access to the nearest place, so that their access is like visiting the local area.
The display speed of enterprise website pages depends on many factors, including server performance, network transmission quality, website exit bandwidth, web page architecture, web page content including the size of pictures and videos involved, and so on.
Accessing websites on domestic servers from abroad mainly faces the following problems:
1. Due to the increase of website visits, the processing capacity of the server is insufficient due to insufficient CPU resources;
2. With the increase of users' visits, the website has the problem of slow page display;
3. Because the total export bandwidth of China countries is insufficient, websites visiting China from overseas are very slow, and the slow opening of websites leads to the disappearance of potential customers.
4. With the progress of website popularization, the possibility of website being attacked is increasing; With the improvement of website popularity, the requirements for website security are getting higher and higher. If it is an e-commerce website, it will pay special attention to the security, encryption and browsing functions of the website.