So I decided to implement HTTP/2 through Apache mod_http2. It was working fine, however every request, except for those with under 1 sec between them, is non-persistent. I am sure of this because as per the browser's network tools, the SSL connection is reinitialized every time:
Whereas, accessing the same page over HTTP/1.1 honors the server's keep-alive setting of 25 seconds and keeps the connection persistent:
Software running on the server:
Server Version: Apache/2.4.33 (cPanel) OpenSSL/1.0.2o mod_bwlimited/1.4
Server MPM: event
PHP version: PHP 7.0.29 (cli)
PHP handler: PHP-FPM
So question is, why does HTTP/2 initiate a new SSL connection on each subsequent request? From what I read, the whole point of it should be of using persistent connections, whereas it does not. Or am I missing something here?
Any pointers would be appreciated. Thank you.