Skip to content

Commit

Permalink
Merge pull request #1332 from marschall/flushing-continuation-comment
Browse files Browse the repository at this point in the history
Comment WAFlushingRenderPhaseContinuation
  • Loading branch information
Johan Brichau authored Aug 22, 2022
2 parents f98a681 + f02ecf9 commit e2f1385
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
I send #flush to the HTTP response (WAResponse) after HTML <head> element has been fully renered and closed and the HTML <body> has been opened. This results in this part of the the HTML document being sent to the browser. This allows the browser to prefetch the resources (styles, scripts, ...) possibly resulting in faster page loads.

This only works with a streaming server adatper, for example one using WAComboResponse.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"commentStamp" : "",
"commentStamp" : "pmm 8/22/2022 11:40",
"super" : "WARenderPhaseContinuation",
"category" : "Seaside-RenderLoop-Continuations",
"classinstvars" : [ ],
Expand Down

0 comments on commit e2f1385

Please sign in to comment.