Chapter 8 - Trim and Fit
Techniques to make your sites run faster
Serious
dotcommers spend days trimming every last Kilobyte from their file sizes, making
sure that no milliseconds of their audience's microscopic attention spans are
wasted. The least we can do is to respect our audience's time, and do our best
to trim the wait time.
- Optimize your images
- smaller images
- better optimized
- fewer images
- CSS buttons
- Avoid certain design complexities
- No deep nesting
- Avoid too many image slices
- No unnecessary database calls
- No just checking "chatter"
- N-tier code
- Data layer (database)
- Business Logic layer (programming)
- Presentation layer (web page)
- Psychological vs. Real Time
- Content which is useful is perceived as faster than content which is not
- Break up large tables so that the top loads quickly
- Use lowsrc images if necessary
- Flash encourages clever "loading" schemes
Discussion: What makes a download worth waiting for?
==>Next