Project

General

Profile

Feature #13108

Browser-native lazyloading for images on the main site

Added by Boone Gorges over 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
-
Target version:
Start date:
2020-07-28
Due date:
% Done:

0%

Estimated time:

Description

As browser begin to implement the loading attribute, it feels like an easy win to lazy-load some things that we don't currently bother with. The images in the 'Latest Blog Posts' widget on the homescreen comes to mind. Perhaps also the hero slides?

Adding Ray as a watcher as he's the resident lazyload expert :-D

History

#1 Updated by Raymond Hoh over 1 year ago

Big +1!

I also tried to find a ticket on BuddyPress about using native image lazy-loading, but couldn't find one. Sounds like a good enhancement for the next major release! Created a ticket here.

#2 Updated by Boone Gorges over 1 year ago

  • Target version changed from 1.17.1 to 1.17.2

#3 Updated by Boone Gorges over 1 year ago

  • Target version changed from 1.17.2 to 1.17.3

I've written a very conservative tool that does this only for the networkwide posts widget. Let's go with it for a release or two and maybe expand. https://github.com/cuny-academic-commons/cac/commit/72a78e0f66eca8cda927d73698940b2e1154ae38

#4 Updated by Boone Gorges about 1 year ago

  • Target version changed from 1.17.3 to 1.17.4

#5 Updated by Boone Gorges about 1 year ago

  • Target version changed from 1.17.4 to 1.17.5

#6 Updated by Boone Gorges about 1 year ago

  • Target version changed from 1.17.5 to 1.17.6

#7 Updated by Boone Gorges about 1 year ago

  • Target version changed from 1.17.6 to 1.17.7

#8 Updated by Boone Gorges about 1 year ago

  • Status changed from New to Resolved

Between what I've already implemented on CAC and what's coming in BP, I think that most interesting work here is done.

Also available in: Atom PDF