Skip to content

Commit

Permalink
Comment WAFlushingRenderPhaseContinuation
Browse files Browse the repository at this point in the history
  • Loading branch information
marschall committed Aug 22, 2022
1 parent f98a681 commit f02ecf9
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 f02ecf9

Please sign in to comment.