BKJIA quick translation: today, even general internet users know how to make websites run faster when designing websites: Reduce the number of requests sent to servers and reduce the JPEG size, and get services from content delivery network providers such as Akamai Technologies or Limelight Networks.
The problem is that, according to a senior performance optimization engineer, these methods to optimize Web servers have little effect. This engineer is Steve Souders, And now Google is dedicated to optimizing the chief engineer. Previously, he served the same job as Yahoo.
"We used to break up Apache code to see how Yahoo was running," Souders said. After detailed analysis, Souders was surprised to find that when loading a webpage, only 10% to 20% of the time was used by the server.
This approach may be reasonable ten years ago, but today's computer is driven by dual-core and quad-core CPUs, and the situation is different. In addition, the delay will cause a high price.
Souders said Google found that the latency of 500 ms of network traffic would be reduced by 20%, and Amazon also saw that the latency of 100 ms reduced sales by 1%.
Better browsers and better performance
To solve this problem, Souders first recommended a free tool called Yslow. Yslow analyzes and grades the maximum speed of Web pages. Yslow 2.0, originally created for IE, is a Firefox additional component combined with Firebug web development tools. It can be downloaded from the Yahoo Developer Network.
This method increases the display speed of the homepage of a Google website that Souders does not want to name by 60%.
CSS also affects website performance.CSS files describing the appearance of Web pages have become increasingly complex in recent years.
CSS files become a problem, in part because users tend to stay on multiple CSS pages such as Web mail portals all day long. Souders said these websites will be re-presented all day long, resulting in a delay caused by too detailed descriptions of CSS files each time.
"Looking at this, I think it is like a teacher who strictly scores ." Souders said.
Search engines with few content on pages like Google.com and Microsoft Live.com belong to A very few Class A on Yslow.
In addition to Yslow, there are other tools available to detect performance bottlenecks. Microsoft provides Visual Roundtrip Organizer, and AOL develops an instant open source code tool called PageTest. All these tools use a set of guidelines to judge the performance of the Web site. However, none of these standards can be compared with the 22 standards of Yslow.
- Toutiao, March 20: The ultimate PK for four browsers (multiple pictures)