Making cache configurable per collection.