Speed improvements and changes to data querying

post by habryka (habryka4) · 2018-02-06T04:23:20.693Z · LW · GW · 2 comments

Contents

2 comments

I changed the way we query for data and the way the page gets updated, so that we now basically never query for data without the user reloading the page. This is a pretty major change to the way the page updates, and I expect some bugs to show up somewhere.

This means scrolling on large comment threads or posts should now no longer lag, and comments should no longer resort when other people vote on things while you are looking at the comments (which quite annoyed some users). And in general the processing power the site requires should be massively reduced.

If you notice any bugs in the meantime, reloading the page should almost always fix it, and then send us a message so we can fix things properly.

2 comments

Comments sorted by top scores.

comment by Dr. Jamchie · 2018-02-16T22:52:13.897Z · LW(p) · GW(p)

I feel it strange that when you open Daily posts, you see something like 5 days worth of posts and then you need to click "show more days" button. In facebook I don`t need to click anything if I want to scroll down to post 5 years old. I think.

Replies from: habryka4
comment by habryka (habryka4) · 2018-02-16T23:58:59.001Z · LW(p) · GW(p)

Yeah, autoloading on scroll would be convenient. It's relatively easy to implement, so it might be worth doing.