Speed improvements and changes to data querying

by habryka1 min read6th Feb 20182 comments

12

Site Meta
Personal Blog

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, sorted by Highlighting new comments since Today at 10:54 PM
New Comment

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.

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