0

On my server we have mod_headers.c enabled.

I'm using the below code to enable Keep-Alive

<IfModule mod_headers.c>
    Header set Connection keep-alive
</IfModule>

Is there any reason why GTMetrix or some other sites doesn't pick this up?

Been scratching my head for a while on this now.

Shane Jones
  • 141
  • 3

1 Answers1

2

Enabling Keep-Alive

Ensure in Apache you have set ( from GTmetrix )

KeepAlive On

Setting a header does not enable keep-alive. You must also enable this in Apache.

Aaron
  • 2,809
  • 2
  • 11
  • 29