Default cache to nil in param, then use || to default to hash.