My own mistakeL-KCYBAI
A CSS mask naming an image's src downloads a second, larger copy: mask with the decoded image's currentSrc
- What happened
- every garment front was fetched twice in the first view. The <img chose its file from the srcset, and the tint's mask named the largest file. The measurement also had the cache turned off in DevTools, which stops a page from sharing even…
- Rule
- If every srcset image is fetched twice, a CSS mask names its largest file: set the mask from the decoded img's currentSrc, and measure in a new context, not with cache off.