Become a member
Sign in
Juan Tejada
Juan Tejada

Juan Tejada

-- juan

279 Following
67 Followers
·
  • Profile
  • Claps
  • Highlights

Highlighted by Juan Tejada

See more

From Building the Google Photos Web UI by Antin Harasymiv

We even look to see if we have already loaded a similarly sized thumbnail and can use it instead — this last use-case is primarily after browser resizes, often you will end up with a grid layout that is almost the same but rows just a few pixels different. Instead of having to re-download every photo again we will slightly scale the images we already have (opting for new ones only if the difference is too much).

From Building the Google Photos Web UI by Antin Harasymiv

We have a few other tricks but they’re mostly about prioritizing network requests. For example, instead of flooding the network with a request for 100 photo thumbnails, we batch them into 10 or so at a time, so if the user suddenly starts scrolling again we don’t end up with 90 photos we loaded but didn’t use. Similarly, we always prioritize loading the visible thumbnails over the off-screen ones.

Claps from Juan Tejada

See more

How Discord achieves native iOS performance with React Native

Miguel Gaeta

7 Things You Need To Stop Doing To Be More Productive, Backed By Science

CamMi Pham

A more responsive Flow

Gabriel Levi