Don't try lookup requests that do not exist in the DB.

Keeps a list of known content ids so that we do not hit the db unnecessarily.

Also changed controller to be async.