LOG IN SIGN UP
Documentation

h2.push()

Triggers an HTTP/2 server push of the asset passed into the function as the input-string.

Format

VOID
h2.push(STRING resource)

Examples

1
2
3
if (fastly_info.is_h2 && req.url == "/") {
  h2.push("/assets/jquery.js");
}