{"action":"created","issue":{"url":"https://api.github.com/repos/ethersphere/go-ethereum/issues/383","repository_url":"https://api.github.com/repos/ethersphere/go-ethereum","labels_url":"https://api.github.com/repos/ethersphere/go-ethereum/issues/383/labels{/name}","comments_url":"https://api.github.com/repos/ethersphere/go-ethereum/issues/383/comments","events_url":"https://api.github.com/repos/ethersphere/go-ethereum/issues/383/events","html_url":"https://github.com/ethersphere/go-ethereum/pull/383","id":312915699,"number":383,"title":"swarm: Added cache-control headers to maximize downstream caching of immutable content","user":{"login":"jpeletier","id":11574521,"avatar_url":"https://avatars0.githubusercontent.com/u/11574521?v=4","gravatar_id":"","url":"https://api.github.com/users/jpeletier","html_url":"https://github.com/jpeletier","followers_url":"https://api.github.com/users/jpeletier/followers","following_url":"https://api.github.com/users/jpeletier/following{/other_user}","gists_url":"https://api.github.com/users/jpeletier/gists{/gist_id}","starred_url":"https://api.github.com/users/jpeletier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpeletier/subscriptions","organizations_url":"https://api.github.com/users/jpeletier/orgs","repos_url":"https://api.github.com/users/jpeletier/repos","events_url":"https://api.github.com/users/jpeletier/events{/privacy}","received_events_url":"https://api.github.com/users/jpeletier/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-04-10T13:10:52Z","updated_at":"2018-04-27T08:38:20Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/ethersphere/go-ethereum/pulls/383","html_url":"https://github.com/ethersphere/go-ethereum/pull/383","diff_url":"https://github.com/ethersphere/go-ethereum/pull/383.diff","patch_url":"https://github.com/ethersphere/go-ethereum/pull/383.patch"},"body":"Related to #381\r\n\r\nThis PR adds cache-control headers to maximize caching in the browser when we know the object is immutable. This instructs downstream cache servers and the browser to reuse content instead of requesting it again.\r\n\r\nIn particular, the following cases are covered:\r\n\r\n* `bzz-raw:/<hash>` and `bzz-raw:/<hash>/path`\r\n* `bzz-immutable:/<hash>` and `bzz-immutable:/<hash>/path`\r\n* `bzz:/<hash>` and `bzz:/<hash>/path`\r\n\r\nIf instead of a hash, an ENS name is provided, the headers work as before. If possible, an ETag with the hash of the actually delivered content is provided. This will help serving `If-Modified` requests more easily (to be done).\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ethersphere/go-ethereum/issues/comments/384905080","html_url":"https://github.com/ethersphere/go-ethereum/pull/383#issuecomment-384905080","issue_url":"https://api.github.com/repos/ethersphere/go-ethereum/issues/383","id":384905080,"user":{"login":"gbalint","id":127662,"avatar_url":"https://avatars1.githubusercontent.com/u/127662?v=4","gravatar_id":"","url":"https://api.github.com/users/gbalint","html_url":"https://github.com/gbalint","followers_url":"https://api.github.com/users/gbalint/followers","following_url":"https://api.github.com/users/gbalint/following{/other_user}","gists_url":"https://api.github.com/users/gbalint/gists{/gist_id}","starred_url":"https://api.github.com/users/gbalint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbalint/subscriptions","organizations_url":"https://api.github.com/users/gbalint/orgs","repos_url":"https://api.github.com/users/gbalint/repos","events_url":"https://api.github.com/users/gbalint/events{/privacy}","received_events_url":"https://api.github.com/users/gbalint/received_events","type":"User","site_admin":false},"created_at":"2018-04-27T08:38:20Z","updated_at":"2018-04-27T08:38:20Z","author_association":"NONE","body":"@jpeletier Can you please rebase on swarm-network-rewrite? There are conflicts, and this prevents travis from running the tests."}}
{"actor":{"display_login":"gbalint"}}