db caching, part 2