
Optimizing for Download Speed
At modem speeds, expect page to load at 1KB to3KB/sec, so you'll probably want
to limit the entire page to 45KB or less.
- Don't use images you don't need. Consider alternatives (e.g.
LI, HR, tables)
- For larger images, consider using thumbnails then linking to
the larger image:
<A HREF="photo-full.gif"><IMG
SRC="photo-thumb.gif"></A>
But don't create thumbnails by browser-side scaling!
- Interlace your larger GIF files
- Include HEIGHT= and WIDTH= on all images
- Use a 216-color palette if possible (or smaller, e.g. 2, 4, or
16 color)
- Use JPEG (at lowest feasible quality setting) for
continuous-tone graphics
- Use GIF for line art and solid colors
- Consider special-purpose optimization software, e.g., DeBabelizer, Fireworks
Next: Exercise: more image manipulation