Skip to content

Commit 1dab125

Browse files
authored
Update templates.rst
1 parent eaeeebe commit 1dab125

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

templates.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,8 @@ provided by Symfony:
497497
<!-- special options defined by Symfony to set the page cache -->
498498
<default key="maxAge">86400</default>
499499
<default key="sharedAge">86400</default>
500+
<!-- Whether or not caching should apply for client caches only -->
501+
<default key="private">true</default>
500502
</route>
501503
</routes>
502504
@@ -516,6 +518,9 @@ provided by Symfony:
516518
// special options defined by Symfony to set the page cache
517519
'maxAge' => 86400,
518520
'sharedAge' => 86400,
521+
522+
// Whether or not caching should apply for client caches only
523+
'private' => true,
519524
])
520525
;
521526
};

0 commit comments

Comments
 (0)