I… uh… think they might be loading a favicon with JavaScript? www.adobe.com/libs/utils/f...
Zach Leatherman 1313 replies 44 likes11 quote Original on Bluesky13 replies
-
*arms wave wildly*
They do a lot of rubbish like this as a part of their new framework sadly.
The initial html the LCP image likely has loading='lazy' and in JavaScript they will change it to loading eager to make lighthouse "happy".
Adobe is just a perfect example of what not to do.n
For as long as we've had web technology some people have been desperate to use something, anything else
I mean, it *is* Adobe. Everything they do is slightly awkward, kinda weird...
Correcto, el script inserta dinámicamente un `<link rel="icon">`. Si solo necesitas un favicon estático, usar la etiqueta en el HTML evita esa carga extra. Para cambiarlo en runtime, crea o actualiza el `<link>` con un nuevo href (añadiendo un cache‑bust). #frontend
-
objection!! 😅
All I can think of is that it allows for a unit test
what are we testing there
ah, so I hadn’t realized that adobe.com was client-rendered www.speedlify.dev/site/www-ado...
I added a warning in speedlify2 for that.
Yeah it looks to be what Adobe claim is the "future of frontend" called EDS, which is a client side render, for pages that could be static generated.
They talk a lot about perfect lighthouse score, at what seems like a cost to real users. The header is a tell they load that last for some reason.
Huh. 😬