Skip to content

Commit 22e1017

Browse files
committed
minor #17613 [HttpKernel] Add option to render Surrogate fragment with absolute URIs (alamirault)
This PR was merged into the 6.2 branch. Discussion ---------- [HttpKernel] Add option to render Surrogate fragment with absolute URIs #17077 Commits ------- 34745bf [HttpKernel] Add option to render Surrogate fragment with absolute URIs
2 parents fb45989 + 34745bf commit 22e1017

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

http_cache/esi.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ possible.
267267
signed when using the fragment renderer and the ``render_esi`` Twig
268268
function.
269269

270-
The ``render_esi`` helper supports two other useful options:
270+
The ``render_esi`` helper supports three other useful options:
271271

272272
``alt``
273273
Used as the ``alt`` attribute on the ESI tag, which allows you to specify an
@@ -278,4 +278,11 @@ The ``render_esi`` helper supports two other useful options:
278278
of ``continue`` indicating that, in the event of a failure, the gateway cache
279279
will remove the ESI tag silently.
280280

281+
``absolute_uri``
282+
If set to true, an absolute URI will be generated. **default**: ``false``
283+
284+
.. versionadded:: 6.2
285+
286+
The ``absolute_uri`` option was introduced in Symfony 6.2.
287+
281288
.. _`ESI`: http://www.w3.org/TR/esi-lang

0 commit comments

Comments
 (0)