4 ms·
Thanks for the feedback, appreciate it! It probably feels a bit slow at some points because it's actually checking each link and trying to pull out a thumbnail
by jesalg 14y ago
Thanks for the feedback, appreciate it!
It probably feels a bit slow at some points because it's actually checking each link and trying to pull out a thumbnail via the site's API like imgur, youtube, wikipedia, etc and at other times when there is no API, it's scraping HTML for a suitable thumbnail (which is the most time consuming). But this only happens once and then cached by redis. Also I'm making use of websockets so as soon as one item is parsed its pushed out to the client.
Having said that, there is plenty of room for improvement. I still plan to add some more features when I get more time such as loggin in, up/down voting, and the ability to browse other subreddits as you mentioned.