Project

General

Profile

Actions

Feature #13108

closed

Browser-native lazyloading for images on the main site

Added by Boone Gorges over 3 years ago. Updated over 3 years ago.

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

0%

Estimated time:
Deployment actions:

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

Actions #1

Updated by Raymond Hoh over 3 years 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.

Actions #2

Updated by Boone Gorges over 3 years ago

  • Target version changed from 1.17.1 to 1.17.2
Actions #3

Updated by Boone Gorges over 3 years 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

Actions #4

Updated by Boone Gorges over 3 years ago

  • Target version changed from 1.17.3 to 1.17.4
Actions #5

Updated by Boone Gorges over 3 years ago

  • Target version changed from 1.17.4 to 1.17.5
Actions #6

Updated by Boone Gorges over 3 years ago

  • Target version changed from 1.17.5 to 1.17.6
Actions #7

Updated by Boone Gorges over 3 years ago

  • Target version changed from 1.17.6 to 1.17.7
Actions #8

Updated by Boone Gorges over 3 years 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.

Actions

Also available in: Atom PDF