{"action":"created","issue":{"url":"https://api.github.com/repos/mholt/caddy/issues/191","labels_url":"https://api.github.com/repos/mholt/caddy/issues/191/labels{/name}","comments_url":"https://api.github.com/repos/mholt/caddy/issues/191/comments","events_url":"https://api.github.com/repos/mholt/caddy/issues/191/events","html_url":"https://github.com/mholt/caddy/issues/191","id":95781957,"number":191,"title":"Implement ETag","user":{"login":"mholt","id":1128849,"avatar_url":"https://avatars.githubusercontent.com/u/1128849?v=3","gravatar_id":"","url":"https://api.github.com/users/mholt","html_url":"https://github.com/mholt","followers_url":"https://api.github.com/users/mholt/followers","following_url":"https://api.github.com/users/mholt/following{/other_user}","gists_url":"https://api.github.com/users/mholt/gists{/gist_id}","starred_url":"https://api.github.com/users/mholt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mholt/subscriptions","organizations_url":"https://api.github.com/users/mholt/orgs","repos_url":"https://api.github.com/users/mholt/repos","events_url":"https://api.github.com/users/mholt/events{/privacy}","received_events_url":"https://api.github.com/users/mholt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mholt/caddy/labels/discussion","name":"discussion","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-18T02:58:52Z","updated_at":"2015-07-26T20:20:29Z","closed_at":null,"body":"ETags aren't my favorite caching mechanism because all the heavy lifting is done by the server, but it might be worth looking into doing them anyway. Do we do strong ETags or weak ones? Should this be customizable from the Caddyfile? What are the default settings? How do we cache the computed ETags?\r\n\r\nThe Go standard library supports ETag and If-Modified-Since headers, but we need to do our part to take advantage of them."},"comment":{"url":"https://api.github.com/repos/mholt/caddy/issues/comments/125035373","html_url":"https://github.com/mholt/caddy/issues/191#issuecomment-125035373","issue_url":"https://api.github.com/repos/mholt/caddy/issues/191","id":125035373,"user":{"login":"nudzo","id":1408845,"avatar_url":"https://avatars.githubusercontent.com/u/1408845?v=3","gravatar_id":"","url":"https://api.github.com/users/nudzo","html_url":"https://github.com/nudzo","followers_url":"https://api.github.com/users/nudzo/followers","following_url":"https://api.github.com/users/nudzo/following{/other_user}","gists_url":"https://api.github.com/users/nudzo/gists{/gist_id}","starred_url":"https://api.github.com/users/nudzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nudzo/subscriptions","organizations_url":"https://api.github.com/users/nudzo/orgs","repos_url":"https://api.github.com/users/nudzo/repos","events_url":"https://api.github.com/users/nudzo/events{/privacy}","received_events_url":"https://api.github.com/users/nudzo/received_events","type":"User","site_admin":false},"created_at":"2015-07-26T20:20:29Z","updated_at":"2015-07-26T20:20:29Z","body":"In fact last_mod should change anytime you write something... but that's in seconds... in one second you can write few hundreds megs. Found it here: http://serverfault.com/questions/690341/algorithm-behind-nginx-etag-generation"}}