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

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -