Hacker News new | ask | show | jobs
by hidro 3567 days ago
I already have similar request in my backlog. This is gonna be tricky, because I don't have all comments up front as they are loaded on demand (even for saved comments - loaded on demand from cache).
1 comments

can't you just utilize the algolia search api for hacker news? https://hn.algolia.com/api

sure, its one more query to run but i think it would be fast enough.

Yeah that's one way to go. Probably I'll use Algolia for users that prefer up front loading. It's slower than official API but would do the job.