{"action":"closed","issue":{"url":"https://api.github.com/repos/meumobi/sitebuilder/issues/41","labels_url":"https://api.github.com/repos/meumobi/sitebuilder/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/meumobi/sitebuilder/issues/41/comments","events_url":"https://api.github.com/repos/meumobi/sitebuilder/issues/41/events","html_url":"https://github.com/meumobi/sitebuilder/issues/41","id":65792186,"number":41,"title":"Response on 304 unexpectedly has an higher load than response on 200 of same request","user":{"login":"elbidone","id":9011612,"avatar_url":"https://avatars.githubusercontent.com/u/9011612?v=3","gravatar_id":"","url":"https://api.github.com/users/elbidone","html_url":"https://github.com/elbidone","followers_url":"https://api.github.com/users/elbidone/followers","following_url":"https://api.github.com/users/elbidone/following{/other_user}","gists_url":"https://api.github.com/users/elbidone/gists{/gist_id}","starred_url":"https://api.github.com/users/elbidone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elbidone/subscriptions","organizations_url":"https://api.github.com/users/elbidone/orgs","repos_url":"https://api.github.com/users/elbidone/repos","events_url":"https://api.github.com/users/elbidone/events{/privacy}","received_events_url":"https://api.github.com/users/elbidone/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/meumobi/sitebuilder/labels/api","name":"api","color":"fbca04"},{"url":"https://api.github.com/repos/meumobi/sitebuilder/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/meumobi/sitebuilder/labels/wontfix","name":"wontfix","color":"bfd4f2"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-01T22:24:18Z","updated_at":"2015-11-22T18:04:55Z","closed_at":"2015-11-22T18:04:55Z","body":"From a RestClient I've realized exactly the same request using If-None-Match and not to retrieve 304 and 200 response code.\r\nI've observed that surprisingly the response on 304 is heavier than response on 200.\r\n\r\n```sh\r\n177.129.12.134 - - [02/Apr/2015:00:25:06 +0200] \"GET /api/infobox.int-meumobi.com/items/latest HTTP/1.1\" 304 43843 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.104 Safari/537.36\"\r\n177.129.12.134 - - [02/Apr/2015:00:25:26 +0200] \"GET /api/infobox.int-meumobi.com/items/latest HTTP/1.1\" 200 7764 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.104 Safari/537.36\"\r\n```\r\n\r\nYou can simulate the request using following command\r\n```sh\r\ncurl http://int-meumobi.com/api/infobox.int-meumobi.com/items/latest -H \"X-Visitor-Token: b43954d10f7e80e39fc6978e02ecf1155a668df1\" -H \"If-None-Match: f0eb43af85554f8f9cd4a2574d1e39cc\"\r\n```\r\n"}}