Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 323fd09

Browse files
HTTP chunking
1 parent 4132e4a commit 323fd09

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎readme.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,6 +1027,7 @@ worker.onMessage(function(event) {
10271027
10281028
* special constructor function available in most browsers
10291029
* allows sending HTTP requests
1030+
* libraries wrap this - e.g. Jquery.ajax
10301031
10311032
```js
10321033
var xhr = new XMLHttpRequest();
@@ -1067,3 +1068,9 @@ xhr.send();
10671068
* don't use language or type attribute as browsers assume JS anyways
10681069
* script tags (by default) block page loading until they're downloaded, parsed and run
10691070
* put your script tags at the bottom of the page or use HTML5 async script (since IE10)
1071+
1072+
### HTTP chunking
1073+
1074+
* sending HTTP response in chunks, browser can deal with this
1075+
* possible to send page header first, then page content, the script tags at the bottom
1076+
* these can be sent in different chunks, browser will progressively render

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /