6. User Experience
"Speed is the most important factor, after
site attractiveness, to increasing flow in
users. People who are more engaged
while browsing your site will learn faster
and show an improved attitude and
behavior toward your site."– Andy King
http://sbr.link/ict
18. Optimize CSS
● Minify CSS
● Avoid CSS conflicts (multiple IDs, overriding rules, etc)
● Don't use CSS inline of HTML tags
● Load CSS using deferred and async Javascript
● Load critical CSS in the HTML HEAD
● Reduce CSS libraries to only what is actually needed
http://sbr.link/puq
19. Optimize JS
● Minify Javascript
● Implement Unobtrusive Javascript approach
● Load Javascript using deferred and async attributes
● Load Critical Javascript in the HTML
● Reduce Javascript libraries to only what is actually
needed
http://sbr.link/eac
http://sbr.link/fyz
20. Optimize Images
● Choose the right format (e.g. JPG vs PNG-8 vs PNG-24)
● Compress
● Use Sprites (http/1.x only)
● Defer Loading (lazy loading)
● Use width and height attributes
● Use lightweight favicon
http://sbr.link/ile
68. Consider This!
"Given the choice between making
something my problem, and making
something the user’s problem, I’ll
choose to make it my problem every
time." – Jeremy Keith