{"action":"created","issue":{"url":"https://api.github.com/repos/willnorris/imageproxy/issues/33","labels_url":"https://api.github.com/repos/willnorris/imageproxy/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/willnorris/imageproxy/issues/33/comments","events_url":"https://api.github.com/repos/willnorris/imageproxy/issues/33/events","html_url":"https://github.com/willnorris/imageproxy/issues/33","id":89599081,"number":33,"title":"GZIP","user":{"login":"runemadsen","id":192021,"avatar_url":"https://avatars.githubusercontent.com/u/192021?v=3","gravatar_id":"","url":"https://api.github.com/users/runemadsen","html_url":"https://github.com/runemadsen","followers_url":"https://api.github.com/users/runemadsen/followers","following_url":"https://api.github.com/users/runemadsen/following{/other_user}","gists_url":"https://api.github.com/users/runemadsen/gists{/gist_id}","starred_url":"https://api.github.com/users/runemadsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runemadsen/subscriptions","organizations_url":"https://api.github.com/users/runemadsen/orgs","repos_url":"https://api.github.com/users/runemadsen/repos","events_url":"https://api.github.com/users/runemadsen/events{/privacy}","received_events_url":"https://api.github.com/users/runemadsen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-19T16:00:09Z","updated_at":"2015-06-22T13:16:47Z","closed_at":null,"body":"I'm wondering if it would be useful to support gzip compression if the `Accept-Encoding: gzip` header is set. This would probably impact the caching logic, as `imageproxy` would need to store both the uncompressed and compressed version in cache, and serve it based on the header.\r\n\r\nI'm mounting `imageproxy` as a custom origin for a Cloudfront distritution, and it works great. But Cloudfront will automatically cache different version of the same image based on the `Accept-Encoding: gzip` header, so if `imageproxy` supported it, it would *just work*.\r\n\r\nThoughts? I'd be happy to do some development on it."},"comment":{"url":"https://api.github.com/repos/willnorris/imageproxy/issues/comments/114099124","html_url":"https://github.com/willnorris/imageproxy/issues/33#issuecomment-114099124","issue_url":"https://api.github.com/repos/willnorris/imageproxy/issues/33","id":114099124,"user":{"login":"runemadsen","id":192021,"avatar_url":"https://avatars.githubusercontent.com/u/192021?v=3","gravatar_id":"","url":"https://api.github.com/users/runemadsen","html_url":"https://github.com/runemadsen","followers_url":"https://api.github.com/users/runemadsen/followers","following_url":"https://api.github.com/users/runemadsen/following{/other_user}","gists_url":"https://api.github.com/users/runemadsen/gists{/gist_id}","starred_url":"https://api.github.com/users/runemadsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runemadsen/subscriptions","organizations_url":"https://api.github.com/users/runemadsen/orgs","repos_url":"https://api.github.com/users/runemadsen/repos","events_url":"https://api.github.com/users/runemadsen/events{/privacy}","received_events_url":"https://api.github.com/users/runemadsen/received_events","type":"User","site_admin":false},"created_at":"2015-06-22T13:16:47Z","updated_at":"2015-06-22T13:16:47Z","body":"Awesome, thanks! Yes, that's how we're running it. I think that NopCache is a great idea for the default. It  would at least be a great setting for people who have a CDN in front of the proxy. Is there currently a setting I can use for this, or does it need to be implemented?"}}