Is it possibile to enable "connection: keep-alive" header on Netlify?

Hi,

Just wondering if there’s a way to make gtmetrix happy by activating the “keep-alive” connection header for all static assets hosted on Netlify.

Enabling HTTP Keep-Alive or HTTP persistent connections allow the same TCP connection to send and receive multiple HTTP requests, thus reducing the latency for subsequent requests.

Would it be possibile to set this as custom header for all files?
Maybe inside my _header file, something like this:

/*
Connection: keep-alive

But this seems to be ignored

Thanks for the help

Hiya @gcext,

Tis not possible to enable it. All of our connections are HTTP/2 capable which does the same thing (will send many assets in the same connection), so that should have an effectively similar effect for any modern browser that supports HTTP/2