Cache in controller