I had followed the document(https://symfony.com/doc/current/http_cache/esi.html),
<!DOCTYPE html>
<html>
<body>
<!-- ... some content -->
<!-- Embed the content of another page here -->
<esi:include src="http://..."/>
<!-- ... more content -->
</body>
</html>
and seted the config as well.
# config/packages/framework.yaml
framework:
# ...
esi: { enabled: true }
the result in chrome show the same html code in domcument
<esi:include src="http://www.test.com"/>,
but actually ,it never send the get-type request as esi tag expected!
what's the wrong?
I had try render_esi
but render_esi
cannot send custom params,the esi request that I need is <esi:include src="http://www.test.com/a/b?c=c1"/>
Who can help me?