I try to use standart AppCache in Symfony2 to make a gateway caching. The question is the each of theese three ways define when the proxy need to run server script because cache invalid for some reason, and I can use only single of them ?
$response->setETag($article->computeETag()); // 1
$response->setLastModified($article->getPublishedAt()); //2
$response->setMaxAge(600); //3
I read the doc, but for now it little confused me. Thnaks!