I’m having trouble activating the slim / HttpCache slim modifies the variable plus the cache is not active in the browser attached images
public function listAction($request, $response, $args = null)
{
$data = $this->pais->listAction();
$res = $response->withStatus(200)
->withJson($data);
$resWithExpires = $this->cache->withExpires($res, time() + 3600);
return $resWithExpires;
}