Add cache for db data.