- TLS and HTTP/2 functions
- h2
.disable_header_compression() - h2
.push()
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");
}