xuetaohe / minify

Automatically exported from code.google.com/p/minify
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Minify does not return Keep-Alive header #270

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Analyzing my website using Google PageSpeed I just found out that the 
Keep-Alive header seems to be removed through minify. As I don't find any code 
that removes this header explicit, I think that it simply overwrites all 
headers. Would it be possible to add the Keep-Alive header to the response?

Original issue reported on code.google.com by bernhard...@gmail.com on 17 Jul 2012 at 11:43

GoogleCodeExporter commented 9 years ago
Keep-Alive should be managed by your web server. I'm not certain that it would 
be wise for Minify to send this header. I can re-open the ticket if I see 
convincing evidence; feel free to discuss this on the Google group or Stack 
Overflow.

Original comment by mrclay....@gmail.com on 17 Jul 2012 at 1:17

GoogleCodeExporter commented 9 years ago
Stange with different tools I get different results. Even with the same tools I 
sometimes get the Keep-Alive header in the reponse and sometimes not. So I 
asume it is not a bug in minify.

Original comment by bernhard...@gmail.com on 17 Jul 2012 at 1:45

GoogleCodeExporter commented 9 years ago
Chrome seems to think the Keep Alive header is absent. However checking the 
same files in Firefox shows the header being present.

Original comment by tinb...@gmail.com on 5 Sep 2013 at 10:34