1.Minimize HTTP Requests HTTP requests to reduce
pictures, css, script, flash, etc. which will increase the number of http requests to reduce the number of these elements can reduce the response time. The number of JS, CSS, where possible, embodied in the circumstance of a file is written directly to the page where image is too wrong practice and should be written into the CSS, the use of CSS sprites to put together a small map to locate after the use of backdrop.
2.Use a Content Delivery Network CDN technology use is naturally a good object
CDN, 8-over server providers generally charge for this service, and I've bought is that the servant space, but I was Han did not understand by now gone. . .
3.Add one Expires or a Cache-Control Header set expire header files alternatively static cache
browser cache will be accustomed to reduce the number of http requests to speed up page load time,
Christian Louboutin High Heels, and if the head plus a long page expiration time, the browser has cached pages of the elements. But so what if the pages alteration, then we should alteration the label, otherwise the client will not take the initiative to refresh, to see their own assessment of the ~ This can be modified. Htaccess file to effect.
4.Gzip Components Gzip ziped
Gzip format is a very common compression technique, nearly all browsers have the ability to extract the Gzip format, and it can be very large proportion of compression, compression rate of the common 85%. Compression no compression, you can do here to test.
5.Put Stylesheets at the Top to the altitude of
CSS released for presently as likely so that readers tin discern the site's complete style.
6.Put Scripts at the Bottom to the bottom of
JS put functional site set up after the show finished, of course, the JS to load your content does not affect the rendition of the process.
7.Avoid CSS Expressions Avoid CSS Expressions
CSS statements are terrible, the merely thing aided along the implementation of IE while the operation is very colossal, you migrate the mouse it ought be re-calculated, but In mandate to make the time to use a compatible browser to this | | | IE6 die dead! ~
8.Make JavaScript and CSS External JS and CSS will be outside the chain depicted above, the cache
this matter, some of the more common of the JS and CSS, we can use outside the fetter in the form of, case in point, I was outside the fetter from Google to the Jquery document whether I use variant browser in the browser files of this site outside the chain has been downloaded and cached the file, then visit his website when I do not need to download it! ~
9.Reduce DNS Lookups DNS lookup
rebate is to reduce the site looks favor from the outside cry resources, analysis and my Google picasa pictures of alien chains are considered in it.
10.Minify JavaScript and CSS reduces the volume of
JS and CSS JS and CSS are always manuscript capabilities, with a minimum of code to achieve the same functions, reducing the gaps,
Christian Louboutin Boots, and improve logic, using contractions, etc. Of way, there are numerous tools can help you achieve this.
11. Avoid Redirects link to avoid redirect
write repeatedly, nevertheless / DirectorySlash decided.
12. Remove Duplicate Scripts repeated calls to remove replica code in the script
browser does not acknowledge ignored, but the operation again and again, which is of course a huge waste.
13. Configure ETags configuration ETags
confused Editor's Note, in short I was. htaccess to obtain it canceled.
14. Make Ajax Cacheable cache Ajax
Ajax is real-time response, and in the browser receives the new file before the antique data is cached,
Christian Louboutin Discount, so better skillful to improve efficiency.
15. Flush the Buffer Early release as soon as possible to the page buffer
When the user requests,
Christian Louboutin Shoes, the server-side 200 to 500 milliseconds it takes time to put together HTML, will be written in the head and body, between the release of the buffer, so that Files can be sent head first, and then bring the file content and improve efficiency.
16. Use GET for AJAX Requests reach to AJAX requests with GET usage and the server
Get only 1 interaction (sending data), while the Post to twice (to send the head and then send the data).
17. Post-load Components idle load the needful components
premier initialize the page components, and then load the additional, YUI Image Loader is a good sample.
18. Preload components pre-load behind load components may be used in advance
things, and lazy loading are not in clash, and its purpose is to cater faster answer to subsequent requests, see the Google home page The application of CSS sprites.
19. Reduce the Number of DOM Elements to reduce the number of DOM elements in the page
intricate building means a longer download and response time, a more rational and more efficient use of tags to structure the page, is necessity for a good front-end conditions.
20. Split Components Across Domains
page components across domains separated components from multiple sources can increase your parallel downloads, but do not also much extra than 2-4 domains will cause the above said DNS lookup waste.
21. Minimize the Number of iframes to reduce the number of
iframe absence because more efficacious use of ifames.
iframe advantages: good advertising, slow to download third-party content, security, sandbox, parallel disabilities
iframe to download the script: there will be even larger for the wind expense of resources,
Christian Louboutin Pumps, will discourage the page onload, non-semantic
22. No 404s do not arise in the site itself
404 pages (not search results) 404 pages, 404 pages of nonsense user experience and will expend server resources.
23. Reduce Cookie Size decrease Cookie
Cookie among the waiter and browser exchange through headers, Cookie lessen the volume, set causativeable expiration time, quite nice to improve efficiency.
24. Use Cookie-free Domains for Components of the components used without Cookie domain Cookie
peruse the static component is a waste, the use of the domain name to another without Cookie to store your static components A good way to type, or you can only store in the Cookie domain with www.
25. Minimize DOM Access apt dilute the digit of visits
JS DOM DOM access is very slow, try not to use JS to set the page layout.
26. Develop Smart Event Handlers evolution of amenable event handlers
DOM tree elements too much, then the event handler is added, the reaction efficiency will surely be low, YUI event there namely a tool that can aid you flexibility onAvailable DOM event handler set
27. Choose over @ import to use instead of @ import
use @ import in IE and in the bottom of the page to use Like we said earlier, make put at the top.
28. Avoid Filters to avert the use of filters
Alpha transparency if needed, do not use AlphaImageLoader, it is inefficient and only applies to the version of IE6 and beneath, with PNG8 pictures. If you have to use, plus _filter to affect IE7 + users.
29. Optimize Images optimize your GIF images
into PNG8 would be a good direction to reduce the volume, while there are many ways to process your JPG and PNG image in order to achieve optimal results.
30. Optimize CSS Sprites CSS Sprites
optimized CSS Sprites in the crowded arrangement of perpendicular and try to picture, as distant as possible alike to the color image row attach, will reduce the size of the image itself and to enhance image display speed the page .
31. Don't Scale Images in HTML do not scale the image in the HTML, how to use
picture with much, 1000X1000 image is breadth = number is not reduced.
32. Make favicon. ico Small and Cacheable restricted favicon. ico, and the size of the cache site, the browser it
ICO should not constantly change it, then cache it for a long time,
Christian Louboutin Slingbacks, and the best control in the following 1K .
33. Keep Components under 25K ensure that components in the following
iPhone 25K 25K or more components can not be cached, and this is to be compressed ahead.
34. Pack Components into a Multipart Document will be packaged into a multi-component part of the file
like addition additions in the information as an HTTP request is enough, but the technology needs to ensure that your proxy support, iPhone does not support.