HTTP/2 Server Push with multiple assets per Link header
In April, Cloudflare added experimental support for HTTP/2 Server Push to all its websites. The company's implementation of Server Push made use of the HTTP Link header as detailed in W3C Preload Working Draft. However, there was a serious restriction in their initial version: it was not possible to specify more than one asset per Link header for Server Push and many CMS and web development platforms would not allow multiple Link headers. This problem has now been addressed, allowing users to request that multiple assets be pushed in a single Link header. Additionally, Cloudflare added a header called Cf-H2-Pushed which contains the assets that were pushed. The company is interested in hearing about experiences with pushing different types of resources and working out the optimal number of items to push per page.
Company
Cloudflare
Date published
June 30, 2016
Author(s)
John Graham-Cumming
Word count
415
Language
English
Hacker News points
None found.