Skip to content

Commit 43924f2

Browse files
committed
Documented half of the options
1 parent a6f8965 commit 43924f2

File tree

3 files changed

+355
-79
lines changed

3 files changed

+355
-79
lines changed

book/http_cache.rst

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

967+
.. _book-http_cache-fragments:
968+
967969
When using a controller reference, the ESI tag should reference the embedded
968970
action as an accessible URL so the gateway cache can fetch it independently of
969971
the rest of the page. Symfony2 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
@@ -499,7 +499,9 @@ as the locale for the current request.
499499
You can now use the locale to create routes to other translated pages
500500
in your application.
501501

502-
Setting a default Locale
502+
.. _book-translation-default-locale:
503+
504+
Setting a Default Locale
503505
~~~~~~~~~~~~~~~~~~~~~~~~
504506

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

0 commit comments

Comments
 (0)