Skip to content

Commit 057c2a7

Browse files
committed
Documented half of the options
1 parent 927579e commit 057c2a7

File tree

3 files changed

+355
-77
lines changed

3 files changed

+355
-77
lines changed

book/http_cache.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -980,6 +980,8 @@ of the master page.
980980
With ESI, the full page cache will be valid for 600 seconds, but the news
981981
component cache will only last for 60 seconds.
982982

983+
.. _book-http_cache-fragments:
984+
983985
When using a controller reference, the ESI tag should reference the embedded
984986
action as an accessible URL so the gateway cache can fetch it independently of
985987
the rest of the page. Symfony takes care of generating a unique URL for any

book/translation.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,9 @@ as the locale for the current request.
502502
You can now use the locale to create routes to other translated pages
503503
in your application.
504504

505-
Setting a default Locale
505+
.. _book-translation-default-locale:
506+
507+
Setting a Default Locale
506508
~~~~~~~~~~~~~~~~~~~~~~~~
507509

508510
What if the user's locale hasn't been determined? You can guarantee that a

0 commit comments

Comments
 (0)