{"action":"created","issue":{"url":"https://api.github.com/repos/achambers/ember-cli-deploy/issues/80","labels_url":"https://api.github.com/repos/achambers/ember-cli-deploy/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/achambers/ember-cli-deploy/issues/80/comments","events_url":"https://api.github.com/repos/achambers/ember-cli-deploy/issues/80/events","html_url":"https://github.com/achambers/ember-cli-deploy/pull/80","id":58248758,"number":80,"title":"Add an option to add and override S3 upload parameters based on file extension (support for uploading gzipped assets)","user":{"login":"neaket360pi","id":4418194,"avatar_url":"https://avatars.githubusercontent.com/u/4418194?v=3","gravatar_id":"","url":"https://api.github.com/users/neaket360pi","html_url":"https://github.com/neaket360pi","followers_url":"https://api.github.com/users/neaket360pi/followers","following_url":"https://api.github.com/users/neaket360pi/following{/other_user}","gists_url":"https://api.github.com/users/neaket360pi/gists{/gist_id}","starred_url":"https://api.github.com/users/neaket360pi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neaket360pi/subscriptions","organizations_url":"https://api.github.com/users/neaket360pi/orgs","repos_url":"https://api.github.com/users/neaket360pi/repos","events_url":"https://api.github.com/users/neaket360pi/events{/privacy}","received_events_url":"https://api.github.com/users/neaket360pi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-19T18:31:26Z","updated_at":"2015-02-27T18:43:04Z","closed_at":"2015-02-27T09:40:42Z","pull_request":{"url":"https://api.github.com/repos/achambers/ember-cli-deploy/pulls/80","html_url":"https://github.com/achambers/ember-cli-deploy/pull/80","diff_url":"https://github.com/achambers/ember-cli-deploy/pull/80.diff","patch_url":"https://github.com/achambers/ember-cli-deploy/pull/80.patch"},"body":"To support serving gzipped assets from S3 correctly, we need a way to set additional headers when uploading content to S3.\r\n\r\nExample Usage:\r\n- Install ember-cli-gzip by running `ember install:npm ember-cli-gzip`\r\n- Modify the ember-cli-deploy assets configuration to set ContentEncoding and ContentType headers\r\n```\r\nmodule.exports = {\r\n  assets: {\r\n    ....\r\n    extensionOverrides: {\r\n        'css.gz': {\r\n            ContentType: 'text/css',\r\n            ContentEncoding: 'gzip'\r\n        }\r\n    }\r\n  },\r\n```\r\n- modify the built index.html file when serving from your app server to clients that support gzip\r\n-- you could also just avoid adding a `.gz` file extension with ember-cli-gzip and only served compressed files, without any additional changes\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/achambers/ember-cli-deploy/issues/comments/76448312","html_url":"https://github.com/achambers/ember-cli-deploy/pull/80#issuecomment-76448312","issue_url":"https://api.github.com/repos/achambers/ember-cli-deploy/issues/80","id":76448312,"user":{"login":"neaket360pi","id":4418194,"avatar_url":"https://avatars.githubusercontent.com/u/4418194?v=3","gravatar_id":"","url":"https://api.github.com/users/neaket360pi","html_url":"https://github.com/neaket360pi","followers_url":"https://api.github.com/users/neaket360pi/followers","following_url":"https://api.github.com/users/neaket360pi/following{/other_user}","gists_url":"https://api.github.com/users/neaket360pi/gists{/gist_id}","starred_url":"https://api.github.com/users/neaket360pi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neaket360pi/subscriptions","organizations_url":"https://api.github.com/users/neaket360pi/orgs","repos_url":"https://api.github.com/users/neaket360pi/repos","events_url":"https://api.github.com/users/neaket360pi/events{/privacy}","received_events_url":"https://api.github.com/users/neaket360pi/received_events","type":"User","site_admin":false},"created_at":"2015-02-27T18:43:04Z","updated_at":"2015-02-27T18:43:04Z","body":"Cool, looks like this is already implemented in the newer repo.  Thanks for the info."}}