3 ms·
How does the infinite scrolling work when you have topics with 10000+ posts? I'm halfway tempted to install it and learn the API just to answer this question.
by csense 14y ago
How does the infinite scrolling work when you have topics with 10000+ posts?
I'm halfway tempted to install it and learn the API just to answer this question.
- dangrossman 14y agoThe infinite scrolling works in both directions (up and down). There's a "jump to last post" and "jump to first post" navigation aid to the right of the comment list. You can also start anywhere in the middle of a conversation if someone gives you the permalink to that comment. No matter where in the conversation you begin, only a limited number of comments are preloaded into the page (before/after your current position), and the rest get loaded as you scroll down or up. If you're a search spider or other bot loading the canonical URL of the discussion, it's rendered in plain HTML and paged into multiple HTML pages if very long.
- tomjen3 14y agoI often read things on the bus over a not so stable 3g connection. How does infinity scroll work with that?
- dangrossman 14y agoYou're far too young to be a luddite -- the only difference between infinite scroll and paging is whether the action is initiated by swipe or click. If you have a connection, you get more comments, if you don't, you don't. Maybe you have to reload or click the permalink to a comment to try again; you have to jump through the same hoops if you clicked a page link without a connection. When you do have a connection, infinite scroll is preferable on 3G since only some JSON has to be loaded rather than a full page of HTML wrapping it.