Skip to content

Commit a23cce8

Browse files
committed
Named an advantage of ESI
1 parent 9105035 commit a23cce8

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,9 @@ The easiest way is to add one anonymous service for each shortcode in your servi
7272
</service>
7373
```
7474

75-
The parent ```webfactory.shortcode.embed_esi_for_shortcode_handler``` will use [ESI rendering](https://symfony.com/doc/current/http_cache/esi.html),
76-
while the parent ```webfactory.shortcode.embed_inline_for_shortcode_handler``` ill use inline rendering.
75+
The parent ```webfactory.shortcode.embed_esi_for_shortcode_handler``` will use [ESI rendering](https://symfony.com/doc/current/http_cache/esi.html)
76+
(which may be nice for caching), while the parent ```webfactory.shortcode.embed_inline_for_shortcode_handler``` will use
77+
inline rendering.
7778

7879
The ```reference-to-your-replacement-controller``` could be a string like ```AppBundle\Controller\EmbeddedImageController::showAction```
7980
or if you prefer controllers as a service, something like ```app.controller.embedded_image:showAction```. We recommend

0 commit comments

Comments
 (0)