RSS Feed/News Remove unnecessary lazy loading of avatars, emojis, and smilies

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
23,807
Points
823

Reputation:

Current XenForo 2.3 sets loading="lazy" attribute on all avatars, emojis, and smilies. Here are reasons why this attribute is unnecessary:
  1. These are small images. Loading them wasn't a problem in the late dial-up modem era of the internet.
  2. These images repeat a lot, reducing the point of loading the lazily: why load lazily an image that exists multiple times on a page?
  3. There can be a lot of these images in the first immediate view, for example on the new posts page...

Read more

Continue reading...
 
Status
Not open for further replies.
Top