add http cache to the controller