Yahoo Web site acceleration method recommended 34 DescriptionYahoo given include Yslow rules (22) through which the rule of their own to conduct a comprehensive analysis of the page optimization, you can increase the loading speed of your site. 1.Minimize HTTP Requests HTTP requests to reduce the image, CSS, script, flash, etc. These will increase the http requests to reduce the number of these elements can reduce the response time. A plurality of JS, CSS into a file in the possible, pages written directly image is bad practice, written into the CSS should use CSS sprites to use background small map to locate after a split. 2.Use a Content Delivery Network CDN technology use CDN is really a good thing, 8 through server providers usually charge for this service, and I used to buy domestic space have this but I did not know what was available, now he is gone. . . 3.Add an Expires or a Cache-Control Header set expire header files or static cache the browser will use the cache to reduce the http requests to speed up page load time, if the page head plus a long expiration time, the browser It would have been cached pages elements. But if so, then change the pages of the things we should change the name, otherwise the client will not take the initiative to refresh, to see their own assessment of the ~ this can be achieved by modifying the .htaccess file. 4.Gzip Components Gzip compression Gzip format is a very common compression technology, almost all browsers have the ability to extract the Gzip format, and it can compress very large proportion of the general compression rate of 85%. No compression compression, you can come here to do the next test. 5.Put Stylesheets at the Top of the CSS put on top so that the viewer can see the full style as soon as possible sites. 6.Put Scripts at the Bottom of the bottom JS put web presence before you start working feature set, of course, these JS should not affect the content of the performance of your loading process. 7.Avoid CSS Expressions Avoid CSS ExpressionsCSS expression is terrible, this thing is only IE supports the implementation of a very large amount of computation time, you move the mouse it must be recalculated, but sometimes to do a compatible browser must to use this ||| IE6 die die! ~ 8.Make javascript and CSS External JS and CSS outside the front of the chain talking about the cache in this matter, some of the more common JS and CSS, we can use the form outside the chain, for example, I was outside the chain from Google to the jquery file if My viewers browse other uses have downloaded this site outside the chain of the file and the file is cached, then his visit my site when they do not need to download it! ~ 9.Reduce DNS Lookups reduce DNS lookup website looks is to reduce the redeployment of resources from the outside, my Google analyzes and picasa pictures of foreign chains are considered in it. 10.Minify JavaScript and CSS JS and CSS to reduce the volume of write JS and CSS are all techniques to achieve the same functionality with minimal code, reduce gaps and enhance logic, using shorthand, and of course there are many tools We can help you achieve this. 11.Avoid Redirects avoid rewriting redirect link, although 'http://www.ebeta.org' and 'http://www.ebeta.org/' only a final '/' only a thin, but The results are different, the server takes time to redirect the former for the latter and then jump to their attention to this, you can also use Alias or mod_rewrite Apache inside or DirectorySlash resolved. 12.Remove Duplicate Scripts Remove duplicate scripts repeated calls of the code browser and does not recognize ignored, but will be operational again and again, which of course is a big waste. 13.Configure ETags configuration ETags confused Editor's Note, in short, I Nike Air Force 1 was in the .htaccess in it deleted. 14.Make ajax Cacheable cached AjaxAjax is real-time response, the browser receives new data before the old data is cached, so better able to improve efficiency. When 15.Flush the Buffer Early release of the buffer as soon as the page when a user request, the server takes 200-500 milliseconds to flatten html, will be written between the head and the body, releasing the buffer, so that files can be sent head first and then send the file content and improve efficiency. 16.Use GET for AJAX Requests approach to AJAX Nike King using GET only one interaction (sending data) Get request method and server, while Post to twice (to send the head and then send the data). 17.Post-load Components delay in loading assembly of components must first load the page is initialized, and then load the other, YUI Nike Shoes Image Loader is a good example. 18.Preload components may be used in the pre-stuff, and lazy loading does not conflict with load after load components in advance, it aims to provide faster response to subsequent requests, see CSS sprites application Google homepage. 19.Reduce the Number of DOM Elements number of DOM elements to reduce the complexity of the page structure means longer download and response times, more rational and more efficient use of tags to structure the page, is a prerequisite for a good front end. 20.Split Components Across Domains separation of components across domains Page components from multiple sources can increase your parallel downloads, but be careful not to be too much, more than 2-4 domains can cause the above mentioned DNS lookup waste. 21.Minimize the Number of iframes iframe reduce the number of the need for more efficient use of ifames. iframe advantages: good advertising slow to download third-party content, security sandbox, parallel download script iframe Disadvantages: Even empty will have greater consumption of resources, will prevent the page onload, non-semantic 22.No 404s do not appear 404 page in the site itself (not search results) 404 pages, 404 page meaningless affect the user experience and will consume server resources. 23.Reduce Cookie Size reduced CookieCookie between servers and browsers exchanged by the file header, to minimize the volume of Cookie, set a reasonable expiration time, very good to improve efficiency. 24.Use Cookie-free Domains for Components components that use of the domain name without Cookie Cookie read the static component is a waste to use another domain name Air Jordan 3 Retro without Cookie to store your static component-a good way, or may be in Cookie is stored in only the domain name with www. 25.Minimize DOM Access DOM reducing the number of visits JS DOM access is very slow, try not to use JS to set the page layout. 26.Develop Smart Event Handlers development of flexible event handlers DOM tree too many elements are added to an event handler, then the reaction efficiency will definitely be low, YUI event onAvailable tool has a flexible way to help you set the DOM event handlers 27.Choose \u0026 lt; link \u0026 gt; overimport Air Jordan Others use \u0026 lt; link \u0026 gt; instead ofimport use in IEimport on and in the bottom of the page with the \u0026 lt; link \u0026 gt; as we said earlier, should \u0026 lt; link \u0026 gt; to put at the top . 28.Avoid Filters avoid the use of filters, if desired Alpha transparent, do not use AlphaImageLoader, it is inefficient and only for IE6 and below version applies, with PNG8 picture. If you have to use, plus _filter to affect IE7 + users. 29.Optimize Images optimizing your GIF image into PNG8 be a good way to reduce the volume, in addition there are many ways to deal with your JPG and PNG image in order to achieve optimal results. 30.Optimize CSS Sprites optimized CSS Sprites CSS Sprites in the vertical and compact arrangement possible picture, try to row together similar color picture, the picture itself will reduce the size Kids Shoes and improve the page image display speed. 31.Don't Scale Images in HTML not scale the picture image in HTML to use much Kids Nike Trainers of it with much, 1000X1000 images are width = '100' height = '100' after, itself, is not going to reduce the number of KB . 32.Make favicon.ico Small and Cacheable reduce the size and cache it favicon.ico browser ICO sites should not always change it, then cache it for a long time, and the best control in 1K or less. 33.Keep Components under 25K to ensure that the components in the following iphone 25K 25K or more components can not be cached, and this is to be compressed before. 34.Pack Components into a Multipart Document component is packaged into a multi-part document in if added as attachment in the message, a HTTP request is enough, but this technology need to make sure your proxy support, iPhone does not support.