A speed target for every page

Every page type in the store now has a fixed speed target, and a check that runs Lighthouse on a mid-range phone on a simulated 4G network and fails when a page drops below the target. Along the way we found and fixed several things. Our images got an intermediate size of 900 pixels, so an ordinary phone downloads the hero image at half the weight (71KB instead of 139KB), and the images in the gallery, team, services, portfolio, menu, before and after and blog now get a size that fits the screen instead of the full file. The hero button in the centred layout was almost unreadable on a phone in some colour themes, and the savings label next to the price was slightly below the contrast threshold. Both are fixed, and accessibility stands at 100 on every page tested. The results on the home page: performance 84 and the largest content loading in 4.3 seconds, against 80 and 4.9 before. Caching close to the customer (CDN) is not active yet, because it needs an outside account.

New 1

  • A speed target for every page type, and an automatic check that fails when a page drops below it.

Improved 1

  • A 900 pixel image size for phones, and a screen-fitted size for all section and blog images.

Fixed 1

  • An unreadable button in the centred hero on a phone, and the contrast of the savings label.