caching - Symfony2 homepage HTTP cache validation and independently ESI -
caching - Symfony2 homepage HTTP cache validation and independently ESI -
i'm designing project has same construction blog symfony2.
my home displays articles , have sidebar there links login, or links our business relationship if logged.
my sidebar esi, question: if set validation cache on homepage (depending on updated date of lastly article), sidebar display content independently of cache ? otherwise, there solution ? (setting articles list esi, esi can have validation cache ?).
thank answers
yes, possible have parts of page cached independently. can implemented setting different headers $response:
$response->setpublic(); //or $response->setprivate(); //or $response->setsharedmaxage(600);
the detailed reply question can found @ symfony2 documentation page.
validation caching symfony2 esi
Comments
Post a Comment