Content deleted Content added
Harithakusal (talk | contribs) m grammar and sentence structure changes |
Saaswriter (talk | contribs) Added intro language to Basic concept |
||
Line 11:
== Basic concept ==
With HTTP/2 Push, the server can take the initiative by having rules that trigger content to be sent even before it is requested. In this example scenario, the server knows that anyone requesting index.html will need styles.css and script.js, so it can push them to the client immediately without waiting for the client to request them. If done correctly, by the time the browser finishes parsing index.html, the transfer of styles.css and script.js would have already started, or even completed, removing the latency of having to request these and wait for them to arrive.
|