Skip to content

Commit 847bcad

Browse files
committed
Complete rewrote FrameworkBundle config reference
1 parent 8bd694f commit 847bcad

File tree

4 files changed

+859
-256
lines changed

4 files changed

+859
-256
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/templating.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -688,6 +688,8 @@ Controllers are fast to execute and promote good code organization and reuse.
688688
Of course, like all controllers, they should ideally be "skinny", meaning
689689
that as much code as possible lives in reusable :doc:`services </book/service_container>`.
690690

691+
.. _book-templating-hinclude:
692+
691693
Asynchronous Content with hinclude.js
692694
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
693695

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)