LOG IN SIGN UP
Documentation

HTTP/2 server push

  Last updated November 09, 2016

Fastly recognizes link headers with the preload keyword sent by an origin server and pushes the designated resource to a client. For example, this link response header triggers an HTTP/2 push:

link: </assets/jquery.js>; rel=preload

We support multiple link headers and multiple assets in one link header:

link: </assets/jquery.js>; rel=preload, </assets/base.css>; rel=preload

If you're using an Amazon Simple Storage Service (S3) bucket as your origin server, you can still use link headers by applying a cache setting condition like this one:

set beresp.http.Link = beresp.http.x-amz-meta-Link


Additional resources:


Back to Top