|
|
|
|
|
by minouye
5650 days ago
|
|
Quick summary of the author's recommendations: 1. Consolidate separate JS files 2. Use a single image sprite 3. Load elements from a separate domain 4. Set max-age header for files to at least an hour Any idea of what kind of performance bump could I expect from implementing this (assuming a similar profile to The North Face example)? I'd be interested in retooling some projects, but I'd only put in the time if the differences are material. |
|
The one thing I would add is: wherever possible, give resources immutable URLs (that is, when a resource changes, change its URL) and tell the browser to cache them not for an hour but forever. This saves endless wailing and gnashing of teeth on both sides of the browser-cache abyss (i.e. things not being cached when you want them to and -- much worse -- things being cached when you don't want them to). Seriously, this rule changes misery to joy.
p.s. While copying the above link I noticed that Souders published a sequel (Even Faster Web Sites). Who here has read it? Can you report how good it is?