Universal Login - Custom Login Page - GZip Compression

We are using the Custom Login Page under the Universal Login (where we provide our own HTML template). While testing some recent changes, we’ve noticed the login page is not being compressed in any way. While the request sends an accept-encoding header, the response does not send back any content-encoding header.

Is there a way to enable compression on these custom pages?