Infoq:
Joshua Bixby, a Web Optimization Expert, recently revealed in a blog that in a ongoing web performance study, he analyzed the Web performance of the Top 1000 online retailers in Alex, many websites are not optimized for keeping connections (keep-alive) or compressing text (compress text. Infoq Chinese site has organized this for reference by domestic communities.
Joshua Bixby selects two basic optimization methods (keep connections and compressed text) to study online retailers. The initial analysis result is:
- 15% of websites do not enable persistent connections
- Text compression is not performed on 47% of websites.
In response, Joshua once again stressed the importance of the basic web optimization methods:
Keep connection
The TCP connection transmits data between the user and the server. Too many connections will affect the data transmission speed. Enabling keep-alive can effectively improve the web performance.
For Web developers or administrators, ensure that the server and Server Load balancer are correctly configured. According to the research report, many cdns do not correctly enable keep-alive, so pay attention to this.
Compressed text
The average page size of this study is 835kb, which is an important reason for slow page loading. Resource compression can reduce the amount of data transmitted, while text compression is the simplest method.
Joshua said to ensure that Google's best practices are followed in terms of compression optimization.
In addition, if you want to check whether your website is qualified for performance optimization, Joshua recommends that you access the online test website webpagetest for evaluation.