Wednesday, May 13, 2009

Even Faster Webs

Stevesouders.com
Souders@google.com

14 things that need to be done to that can cut download times(these will be needed to be grabbed from presentation as they were not up there long enough). Yslow is addon that will show slow points.
Focus on Javascript.. First suggestion is split the JavaScript payload….only need what is necessary to render the page. 6 methods to do this, XHR Eval, XHR Injection, Script in Iframe, Script DOM element, Script Defer, document.write. Best depends on what results you are looking for. Script on load to help with async javascript loads..
Simplify CSS selectors… selectors are being applied left to right, not right to left. #toc > LI {font-wight:bold} will search all LI elements and check their parents. Avoid univeral seelctors. Don’t qualify ID selectors, don’t qualify class selectors, avoid descendant selectors, avoid tag-child selectors, be wary of child selectors. Beware reflow times, DHTML actions will cause a lot of reflow.

No comments:

Post a Comment