When scrolling the feed with compact mode on, thumbnails are loaded while posts are shown.

Some sort of lazy loading would be awesome here. So thumbnails would get preloaded before you actually scroll down, thus you’d never see the actual loading happen.

Would look and feel much smoother.

You are viewing a single thread.
View all comments
2 points

Lazy-loading is exactly the opposite of pre-loading 😅

permalink
report
reply
2 points

Lazy loading is definitely used for exactly this. I’ve done similar stuff in react native. You load “just what you need” which is a couple of thumbnails more than can be seen.

permalink
report
parent
reply
1 point

They don’t need to cancel each other out.

Lazy loading usually means to load the image at a lesser quality to have something to show the user very fast, so yes technically this can be called opposite of pre loading if used solo.

Pre loading in this instance usually means loading before the user sees the image.

These 2 things can be used together, an example could be to lazy load images at a low quality that are further down the feed before you scroll to them, and load the full image as you get closer to it/have it show on the screen.

But I’m sure the devs knows about thease tricks already

permalink
report
parent
reply

Voyager

!voyagerapp@lemmy.world

Create post

The official lemmy community for Voyager, an open source, mobile-first client for lemmy.

Rules

  1. Be nice.
  2. lemmy.world instance policy

Sponsor development! 👇

💙

Community stats

  • 527

    Monthly active users

  • 819

    Posts

  • 6.3K

    Comments