Async decoding for avatars
This commit is contained in:
parent
ccb656b793
commit
a4db692ea8
|
@ -42,6 +42,7 @@ function Avatar({ url, size, alt = '', squircle, ...props }) {
|
|||
height={size}
|
||||
alt={alt}
|
||||
loading="lazy"
|
||||
decoding="async"
|
||||
crossOrigin={
|
||||
alphaCache[url] === undefined && !isMissing
|
||||
? 'anonymous'
|
||||
|
|
Loading…
Reference in a new issue