Loads the light logo after the page load
Lazy loading saved its bytes during page load, but left the logo empty for a moment when navigating to the homepage on a wide screen. Also adds the second unit's code summary and the shared docs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+3
-3
@@ -72,7 +72,7 @@ Script transfer on mobile (median, bytes): `/` 222,660 (A 221,110), `/over-mij`
|
||||
- `/contact`: equal to A (0.94, 3007 ms); better than master.
|
||||
- `/portfolio`: 0.93 against A 0.94, LCP 3232 against 3007 (+225 ms), because a photo is now the largest paint. Better than B (0.90, 3607) and than D (0.91, 3459).
|
||||
- `/`: 0.85 and 4356 ms, equal score and +76 ms against A (expected "unchanged").
|
||||
- `/privacyverklaring` (+150 ms) and not found (+73 ms) LCP are later than A with equal scores; the LCP element is the dark logo, now lazy. Not an expected change; reported.
|
||||
- `/privacyverklaring` (+150 ms) and not found (+73 ms) LCP are later than A with equal scores; the LCP element is the footer logo (`alt` "Andrea Slop Fotografie", `loading="lazy"`, unchanged by this unit), the header logo being eager. A lab effect; nothing changed.
|
||||
|
||||
## BR-DMS-04: still open
|
||||
|
||||
@@ -91,9 +91,9 @@ Script transfer on mobile (median, bytes): `/` 222,660 (A 221,110), `/over-mij`
|
||||
## V-D7: lazy logos and contact portrait
|
||||
|
||||
- Image KB requested before the real LCP on non-home pages: the light logo (24.8 KB) is no longer in the list; only the dark logo (23.5 KB) is (`/over-mij` 107 KB, soorten 97 KB). `/` still requests both logos (total 272 KB with the 224 KB hero). The contact portrait is 5.9 KB on mobile contact, where it is displayed.
|
||||
- Score and LCP A to U2: see the BR-DMS-03 list. The gains on photo pages combine this with the visible `Reveal`; this measurement does not separate the two.
|
||||
- `/privacyverklaring` and not found: the LCP element is the lazy footer logo (alt "Andrea Slop Fotografie"); the header logo is eager. The footer is unchanged by this unit, so the +150 and +73 ms are a lab effect, not the logo change. Score and LCP A to U2: see the BR-DMS-03 list. The gains on photo pages combine this with the visible `Reveal`; this measurement does not separate the two.
|
||||
- Logo flash, probe on client navigation `/` to `/over-mij` and back (logos already cached from `/`): no frame with a displayed, incomplete logo.
|
||||
- **Finding**: fresh load of `/over-mij`, then client navigation to `/` at 1350 px: the light logo is requested only then, and 1 sampled frame shows the light logo displayed (46 px) while incomplete with the dark logo already hidden (an empty logo area for that frame on a local server; longer on a slow network). At 412 px no such frame (light logo not displayed). Not fixed; for the owner.
|
||||
- **Finding**: fresh load of `/over-mij`, then client navigation to `/` at 1350 px: the light logo is requested only then, and 1 sampled frame shows the light logo displayed (46 px) while incomplete with the dark logo already hidden (an empty logo area for that frame on a local server; longer on a slow network). At 412 px no such frame (light logo not displayed). **Fixed afterwards**: the light logo is lazy only until `load`, then eager; verified in Chrome and in `images.e2e.ts`. A navigation before `load` may still flash briefly (accepted).
|
||||
|
||||
## V-D10: hero photo and LCP in a trace
|
||||
|
||||
|
||||
Reference in New Issue
Block a user