5
Mba3gar
128d

Can someone tell how does Instagram load images so fast without any delays ?
Because i'm planning to enhance my application performance as much as i can

Comments
  • 4
    Thumbnails of smaller, compressed size
  • 0
    @AlpineLinnix what about the main image ? Not the profile picture
  • 7
    Prefetch, a lot of Prefetch, the trick is to load the image before you load it 😉
  • 1
    Fast CDN.
  • 3
    You can achieve this using Facebook's fresco image loading library. Although it can take seperate uri s for different quality of images, its able to swap them when each of em arrives, just apply the blur effect to the Imageview for low quality images and you are good to go.
    https://github.com/facebook/fresco
  • 2
    @htlr Really? There's a library for that? Ofc there is.

    Anyway, I came here specifically to suggest just this approach.
Your Job Suck?
Get a Better Job
Add Comment