add LRU cache for DB