{"id":8633704,"date":"2017-01-09T11:47:00","date_gmt":"2017-01-09T11:47:00","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/header-link-missing\/"},"modified":"2017-01-09T11:47:00","modified_gmt":"2017-01-09T11:47:00","slug":"header-link-missing","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/header-link-missing\/","title":{"rendered":"Header Link missing"},"content":{"rendered":"<p>I am a happy user of this cache plugin, however I noticed that it doesn&#8217;t cache all http request headers. I have a plugin that adds some header entries starting with &#8220;Link: &#8220;.<br \/>\nI noticed that when I take a page which is not in the cache, the link headers are there, but when the page comes from cache, the headers are missing.<\/p>\n<p>Example, a page which is not in the cache:<\/p>\n<p>HTTP\/1.1 200 OK<br \/>\nServer: nginx<br \/>\nDate: Mon, 09 Jan 2017 11:41:36 GMT<br \/>\nContent-Type: text\/html; charset=UTF-8<br \/>\nTransfer-Encoding: chunked<br \/>\nConnection: close<br \/>\nVary: Accept-Encoding<br \/>\nLink: here goes the data I spit<\/p>\n<p>exactly the same page but from cache:<\/p>\n<p>HTTP\/1.1 200 OK<br \/>\nServer: nginx<br \/>\nDate: Mon, 09 Jan 2017 11:41:58 GMT<br \/>\nContent-Type: text\/html;charset=utf-8<br \/>\nTransfer-Encoding: chunked<br \/>\nConnection: close<br \/>\nVary: Accept-Encoding<br \/>\nCache-Control: public,max-age=600,s-maxage=600,must-revalidate<br \/>\nExpires: Mon, 09 Jan 2017 11:51:36 GMT<br \/>\nETag: bac607c0c0636230c90ad792ca77b8fd<br \/>\nLast-Modified: Tue, 03 Jan 2017 22:24:51 GMT<\/p>\n<p>As you see my headers are gone.<\/p>\n<p>Does the browser caches the page with the headers? I don&#8217;t think so.<\/p>\n<p>How can I have the link header displayed in the cache result as well?<\/p>\n<p>Thank you for your fantastic support!<\/p>\n","protected":false},"template":"","class_list":["post-8633704","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8633704","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8633704\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=8633704"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}