Bakery storefront
- The problem
- A neighborhood bakery's order page took about six seconds to load on a phone, and customers gave up before ordering.
- What I built
- I measured the page, found three oversized images and a blocking script, resized the images and deferred the script. HTML, CSS and plain JavaScript.
- The result
- Load time on a mid-range phone dropped from about six seconds to under two.
- What I'd do differently
- I would set a size limit for images on day one so the problem couldn't come back.