File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -476,6 +476,9 @@ provided by Symfony:
476476 # special options defined by Symfony to set the page cache
477477 maxAge : 86400
478478 sharedAge : 86400
479+
480+ # whether or not caching should apply for client caches only
481+ private : true
479482
480483 .. code-block :: xml
481484
@@ -494,6 +497,8 @@ provided by Symfony:
494497 <!-- special options defined by Symfony to set the page cache -->
495498 <default key =" maxAge" >86400</default >
496499 <default key =" sharedAge" >86400</default >
500+ <!-- Whether or not caching should apply for client caches only -->
501+ <default key =" private" >true</default >
497502 </route >
498503 </routes >
499504
@@ -513,6 +518,9 @@ provided by Symfony:
513518 // special options defined by Symfony to set the page cache
514519 'maxAge' => 86400,
515520 'sharedAge' => 86400,
521+
522+ // whether or not caching should apply for client caches only
523+ 'private' => true,
516524 ])
517525 ;
518526 };
You can’t perform that action at this time.
0 commit comments