{"action":"created","issue":{"url":"https://api.github.com/repos/18F/pulse/issues/447","repository_url":"https://api.github.com/repos/18F/pulse","labels_url":"https://api.github.com/repos/18F/pulse/issues/447/labels{/name}","comments_url":"https://api.github.com/repos/18F/pulse/issues/447/comments","events_url":"https://api.github.com/repos/18F/pulse/issues/447/events","html_url":"https://github.com/18F/pulse/issues/447","id":162220759,"number":447,"title":"Enable compression for text assets","user":{"login":"anand-bhat","id":7332442,"avatar_url":"https://avatars.githubusercontent.com/u/7332442?v=3","gravatar_id":"","url":"https://api.github.com/users/anand-bhat","html_url":"https://github.com/anand-bhat","followers_url":"https://api.github.com/users/anand-bhat/followers","following_url":"https://api.github.com/users/anand-bhat/following{/other_user}","gists_url":"https://api.github.com/users/anand-bhat/gists{/gist_id}","starred_url":"https://api.github.com/users/anand-bhat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anand-bhat/subscriptions","organizations_url":"https://api.github.com/users/anand-bhat/orgs","repos_url":"https://api.github.com/users/anand-bhat/repos","events_url":"https://api.github.com/users/anand-bhat/events{/privacy}","received_events_url":"https://api.github.com/users/anand-bhat/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-24T20:02:52Z","updated_at":"2016-07-06T16:14:09Z","closed_at":"2016-07-04T22:43:51Z","body":"While pulse.cio.gov appears to be using GZIP compression for html and css, it does not compress js, json and csv files. Compressing js and json resources will be very beneficial as some js (utils.js, domains.js, agencies.js -- timestamp in resource) and all json resources (no caching headers) are refetched every time a page is viewed.\r\n\r\nWhen checked with https://developers.google.com/speed/pagespeed/insights/,\r\n\r\nFor https://pulse.cio.gov/: 230.1KB (64%) reduction\r\n![image](https://cloud.githubusercontent.com/assets/7332442/16348504/8fb96f1e-3a70-11e6-8e31-059d004e9124.png)\r\n\r\nFor https://pulse.cio.gov/https/domains/: 648.5KB (80%) reduction\r\n![image](https://cloud.githubusercontent.com/assets/7332442/16348595/24ab9f66-3a71-11e6-9cf4-7c7c59c2a3ac.png)\r\n\r\nFor https://pulse.cio.gov/https/agencies/: 254.9KB (66%) reduction\r\n![image](https://cloud.githubusercontent.com/assets/7332442/16348563/e9edb0bc-3a70-11e6-8c07-536443f83de3.png)"},"comment":{"url":"https://api.github.com/repos/18F/pulse/issues/comments/230823084","html_url":"https://github.com/18F/pulse/issues/447#issuecomment-230823084","issue_url":"https://api.github.com/repos/18F/pulse/issues/447","id":230823084,"user":{"login":"anand-bhat","id":7332442,"avatar_url":"https://avatars.githubusercontent.com/u/7332442?v=3","gravatar_id":"","url":"https://api.github.com/users/anand-bhat","html_url":"https://github.com/anand-bhat","followers_url":"https://api.github.com/users/anand-bhat/followers","following_url":"https://api.github.com/users/anand-bhat/following{/other_user}","gists_url":"https://api.github.com/users/anand-bhat/gists{/gist_id}","starred_url":"https://api.github.com/users/anand-bhat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anand-bhat/subscriptions","organizations_url":"https://api.github.com/users/anand-bhat/orgs","repos_url":"https://api.github.com/users/anand-bhat/repos","events_url":"https://api.github.com/users/anand-bhat/events{/privacy}","received_events_url":"https://api.github.com/users/anand-bhat/received_events","type":"User","site_admin":false},"created_at":"2016-07-06T16:14:09Z","updated_at":"2016-07-06T16:14:09Z","body":"Thanks! Any plans for compressing the json (`application/json`) resources? The savings for https.json would be pretty large (raw 450.3 KB, if compressed ~ 29 KB)"}}
{"actor":{"display_login":"anand-bhat"}}