cache for model instances