File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -476,6 +476,9 @@ provided by Symfony:
476
476
# special options defined by Symfony to set the page cache
477
477
maxAge : 86400
478
478
sharedAge : 86400
479
+
480
+ # whether or not caching should apply for client caches only
481
+ private : true
479
482
480
483
.. code-block :: xml
481
484
@@ -494,6 +497,8 @@ provided by Symfony:
494
497
<!-- special options defined by Symfony to set the page cache -->
495
498
<default key =" maxAge" >86400</default >
496
499
<default key =" sharedAge" >86400</default >
500
+ <!-- Whether or not caching should apply for client caches only -->
501
+ <default key =" private" >true</default >
497
502
</route >
498
503
</routes >
499
504
@@ -513,6 +518,9 @@ provided by Symfony:
513
518
// special options defined by Symfony to set the page cache
514
519
'maxAge' => 86400,
515
520
'sharedAge' => 86400,
521
+
522
+ // whether or not caching should apply for client caches only
523
+ 'private' => true,
516
524
])
517
525
;
518
526
};
You can’t perform that action at this time.
0 commit comments