Ways to improve website speed

Reprinted information http://www.daimatree.com/dll_website/dll_showHTML.php?html_url=website_connectSpeed
​​Regardless of the user experience of the website, or the search engine crawling and obtaining a better ranking effect, the access speed of the website is important to us. quite important. Website optimization is mainly divided into two categories, one is server optimization, and the other is web page code optimization.
There are two main ways to speed up the opening of the website:
1. Use cache plugins.
Dynamic web pages need to retrieve data from the background, which is a waste of time when the amount of data is large and unchanged. Therefore, the web page in memory can be directly read through the caching technology to speed up the loading speed of the web page.
2. Use CDN to accelerate 3. Optimize code to reduce
bloated structure
4. Reduce the number of social tag buttons
5. Reduce the size and number of pictures It has a very high compression ratio for web pages, usually reaching about 70% compression. Most hosts support GZip compression. The following is my personal opinion: I personally think that to speed up the website access speed, the first priority is to enable gzip and optimize the code. If the code is reduced, the loading time will be substantially improved. The second is cdn acceleration, which can prevent users in Beijing from fetching data from servers in Zhejiang. (However, cdn is paid, Baidu has a free cloud acceleration with 5 to 6 domestic nodes and foreign nodes, but if the bandwidth is large, do not use it, it will become cloud deceleration) Reducing the size and number of pictures can be solved by using lazy loading , which can avoid slow loading due to too many images.





Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327063400&siteId=291194637