47

I built an infinite scroll module today that loaded in more content when you scroll down. Issue was it sent a request for every pixel you scrolled.

Needless to say, many, many, many Ajax requests were sent to the server. Oops.

Comments
  • 1
    I have also implemented a infinite scroll once. It's a tough call to make when to start loading more. 50%? 100 px? I guess you didn't even give it a thought.
  • 4
    WHAT ABOUT THE FOOTER!? 😂
  • 0
    @joas It's true. I think it should be as they end of the last one appears on screen, so they can see a loading symbol appear
  • 0
    Just before the footer should be just right
Add Comment