HTTP/2 Server Push: Difference between revisions

Content deleted Content added
Monkbot (talk | contribs)
m top: Task 16: replaced (0×) / removed (1×) deprecated |dead-url= and |deadurl= with |url-status=;
MizardX (talk | contribs)
Line 34:
* Server sends DATA frames for the contents of styles.css and script.js, using their respective stream numbers.
 
Push promises are sent as early as possible so that the browser will have them well ahead of any discoveries. Notice that HTTP headers (specifically Link with the 'preload' keyword<ref>{{Cite web|url=https://w3c.github.io/preload/|title=Preload|website=w3c.github.io|access-date=2016-11-30}}</ref>) can reveal URLs that the browser needs to fetch, and an eager browser would start asking for the resources upon seeing those headers. Therefore, push promises are best sent before even the response headers of the stream where they are attached.<ref name="shimmercat">{{cite web|title=A closer look to HTTP/2 Push|url=https://www.shimmercat.com/en/blog/articles/whats-push/#vw0.html|publisher=ShimmerCat}}</ref>
 
== Implementations ==