Cache previously collected points in a leveldb database