Stop the logo pass starving backgrounds, and read <picture>

FixSecurityService
Shipped
August 25, 2026 at 8:38 PM UTC
Author
Kamo
Commit
0483f63

Diagnosed against a real site that returned six logos, brand colours and zero background images. Three separate causes, all ours. The logo pass could eat the entire scan. Logos are gathered first because their bytes feed the colour extractor, and that ordering quietly made them a priority they were never meant to have: fourteen candidates off a slow CDN burn the budget, the background pass then opens to find nothing left, and the member is told their site has no imagery -- which is a fact about the order we looked in, not about their site. Backgrounds now have a reserved slice of time and requests. On a fast origin both passes still run to completion, so nothing is given up. <picture><source srcset> was never read. That is how a modern site actually delivers a hero -- the art is swapped per breakpoint and the <img> is only a fallback -- so reading the img alone finds the mobile crop on some sites and nothing at all on the ones that leave the fallback empty. A hashing build (CSS modules) leaves **************** on the container and nothing recognisable on the slides, so none of the named-library selectors match. The container is the only handle left; the dimension gate is what keeps that from becoming "every image on the page".

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing