Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
Description
From the community software list:
Lucas Vossberg wrote:
I did more testing to get chunks of the HTML output delivered to the client. Here are my findings so far:
ESI processor from HST:
If one component is marked "async"(ESI) the output is indeed split into chunks. But the actual delivering of the chunks is delayed until all rendering and aggregation is done.
Nginx with SSI:
If one component is marked "async"(SSI) the output is split into chunks and Nginx starts streaming to the client before the SSI include got fetched. So this is promising.
My additions to the Nginx config are:
ssi on;
proxy_buffering off;
Atm I'm stuck with the SSI code generated from the async component:
<!--#include virtual="/?_hn:type=component-rendering&_hn:ref=r9_r5" -->
The URL is escaped with escapeXML. If Nginx tries to fetch the URL from Hippo, the whole document is returned. If you URL is not escaped, it works.
I either need to find a way to change the URL or findout why Hippo doesn't like to escaped version.
So I've come a step further, but a general solution to allow rendering of partial HTML in the browser is still not there.
Attachments
Issue Links
- is a result of
-
HSTTWO-3317 SSIAsynchronousComponentWindowRenderer should include component rendering URL xml escaped
- Closed