HTTP/2 Server Push for Drupal 8. All CSS & JS assets automatically use Server Push.

Install it and it works. There's no configuration, no UI.

Supported on the following CDNs (as of April 2017):

  • Fastly
  • CloudFlare
  • EdgeCast

What’s the benefit of Server Push?

When a browser requests a page, the server sends the HTML in the response, and then needs to wait for the browser to parse the HTML and issue requests for all of the embedded assets before it can start sending the JavaScript, images and CSS.

Server Push potentially allows the server to avoid this round trip of delay by “pushing” the responses it thinks the client will need into its cache.

Related reading:

Project Information