I ran a Google Page Speed and it says I scored 57/100 because I need to \"Enable Keep-Alive\" and \"Enable Compression\". I did some Google searches but I c
I had the same problem and after a bit of research I found that the two most popular ways to do it are:
If you do not have access to your webserver config file you can add HTTP headers yourself using a .htaccess
file by adding this line of code:
If you are able to access your Apache config file, you can turn on keep-alive there by changing these 3 lines in httpd.conf file found here /etc/httpd/conf/
KeepAlive On
MaxKeepAliveRequests 0
KeepAliveTimeout 100
You can read more from this source which explains it better than me https://varvy.com/pagespeed/keep-alive.html