evancofer / reddigest-scalafied

A rewrite and revamp of reddigest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiple link validation request (Client)

evancofer opened this issue · comments

We currently have a method on the server by which we can validate multiple links sent to the server, but we have not yet implemented the client side ajax calls to send multiple links at once to the server. This method of link fetching is ideal, as we can then grab a batch of links from reddit each time we need more links, and then simply grab a link out of this set of validated links each time we need a new one. This can continue until we run out of fresh links. Otherwise, the client has to validate every single time they close a link and try to fetch a new one, which could seriously slow down the ui responsiveness.