{"action":"reopened","issue":{"url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/issues/314","repository_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed","labels_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/issues/314/labels{/name}","comments_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/issues/314/comments","events_url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/issues/314/events","html_url":"https://github.com/pagespeed/ngx_pagespeed/issues/314","id":13832509,"number":314,"title":"Duplicate Headers","user":{"login":"jrahmy","id":97669,"avatar_url":"https://avatars.githubusercontent.com/u/97669?v=3","gravatar_id":"","url":"https://api.github.com/users/jrahmy","html_url":"https://github.com/jrahmy","followers_url":"https://api.github.com/users/jrahmy/followers","following_url":"https://api.github.com/users/jrahmy/following{/other_user}","gists_url":"https://api.github.com/users/jrahmy/gists{/gist_id}","starred_url":"https://api.github.com/users/jrahmy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrahmy/subscriptions","organizations_url":"https://api.github.com/users/jrahmy/orgs","repos_url":"https://api.github.com/users/jrahmy/repos","events_url":"https://api.github.com/users/jrahmy/events{/privacy}","received_events_url":"https://api.github.com/users/jrahmy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pagespeed/ngx_pagespeed/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2013-04-30T23:39:25Z","updated_at":"2016-08-23T12:54:11Z","closed_at":null,"body":"I have nginx setup to gzip static content:\r\nhttps://gist.github.com/pathetic/dd4a565907aae718093a\r\n\r\nWhen serving pagespeed resources, I notice the Vary: Accept-encoding value gets duplicated. I saw a similar issue in the tracker but it was marked as fixed and involved a proxy setup.\r\n\r\nI also have expires headers set to 1 year in the future for static content:\r\nhttps://gist.github.com/pathetic/e8309b978d42b15e0028\r\n\r\nWhen serving pagespeed resources, I have observed the Cache-control header being set twice, and sometimes being shortened to a lifetime of 5 minutes. I am not sure why the latter occurs, it seems to be inconsistent.\r\n\r\nLastly, I have my keepalive timeout set to 65. When serving pagespeed resources, the Connection header is duplicated, once with the value \"close\" and again with the value \"keep-alive.\"\r\n\r\nViewing the \"source\" resource without .pagespeed.xxx.ext shows all of these headers being set only once, and with the expiry always being set to 1 year in the future.\r\n\r\nI can setup a demonstration for the issue or provide full configuration files if necessary."}}
{"actor":{"display_login":"jeffkaufman"}}