{"action":"created","issue":{"url":"https://api.github.com/repos/azavea/nyc-trees/issues/354","labels_url":"https://api.github.com/repos/azavea/nyc-trees/issues/354/labels{/name}","comments_url":"https://api.github.com/repos/azavea/nyc-trees/issues/354/comments","events_url":"https://api.github.com/repos/azavea/nyc-trees/issues/354/events","html_url":"https://github.com/azavea/nyc-trees/pull/354","id":55530381,"number":354,"title":"Add HTTP caching support for tiles and static assets","user":{"login":"hectcastro","id":43639,"avatar_url":"https://avatars.githubusercontent.com/u/43639?v=3","gravatar_id":"","url":"https://api.github.com/users/hectcastro","html_url":"https://github.com/hectcastro","followers_url":"https://api.github.com/users/hectcastro/followers","following_url":"https://api.github.com/users/hectcastro/following{/other_user}","gists_url":"https://api.github.com/users/hectcastro/gists{/gist_id}","starred_url":"https://api.github.com/users/hectcastro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hectcastro/subscriptions","organizations_url":"https://api.github.com/users/hectcastro/orgs","repos_url":"https://api.github.com/users/hectcastro/repos","events_url":"https://api.github.com/users/hectcastro/events{/privacy}","received_events_url":"https://api.github.com/users/hectcastro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"hectcastro","id":43639,"avatar_url":"https://avatars.githubusercontent.com/u/43639?v=3","gravatar_id":"","url":"https://api.github.com/users/hectcastro","html_url":"https://github.com/hectcastro","followers_url":"https://api.github.com/users/hectcastro/followers","following_url":"https://api.github.com/users/hectcastro/following{/other_user}","gists_url":"https://api.github.com/users/hectcastro/gists{/gist_id}","starred_url":"https://api.github.com/users/hectcastro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hectcastro/subscriptions","organizations_url":"https://api.github.com/users/hectcastro/orgs","repos_url":"https://api.github.com/users/hectcastro/repos","events_url":"https://api.github.com/users/hectcastro/events{/privacy}","received_events_url":"https://api.github.com/users/hectcastro/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-01-26T20:06:24Z","updated_at":"2015-01-27T18:44:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/azavea/nyc-trees/pulls/354","html_url":"https://github.com/azavea/nyc-trees/pull/354","diff_url":"https://github.com/azavea/nyc-trees/pull/354.diff","patch_url":"https://github.com/azavea/nyc-trees/pull/354.patch"},"body":"This changeset adds HTTP caching support to production deployments by:\r\n\r\n- Enabling the Cache-Control, Expires, and ETag headers for static assets\r\n- Enabling the Cache-Control and Expires headers for tiles\r\n\r\nIt is worth noting that when the tiler is fronted by CloudFront, CloudFront will choose the greater of Cache-Control vs. 24 hours, but reserves the right to purge infrequently accessed assets from edge locations to make way to more frequently accessed ones.\r\n\r\nAttempts to resolve #302 and #303."},"comment":{"url":"https://api.github.com/repos/azavea/nyc-trees/issues/comments/71703318","html_url":"https://github.com/azavea/nyc-trees/pull/354#issuecomment-71703318","issue_url":"https://api.github.com/repos/azavea/nyc-trees/issues/354","id":71703318,"user":{"login":"hectcastro","id":43639,"avatar_url":"https://avatars.githubusercontent.com/u/43639?v=3","gravatar_id":"","url":"https://api.github.com/users/hectcastro","html_url":"https://github.com/hectcastro","followers_url":"https://api.github.com/users/hectcastro/followers","following_url":"https://api.github.com/users/hectcastro/following{/other_user}","gists_url":"https://api.github.com/users/hectcastro/gists{/gist_id}","starred_url":"https://api.github.com/users/hectcastro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hectcastro/subscriptions","organizations_url":"https://api.github.com/users/hectcastro/orgs","repos_url":"https://api.github.com/users/hectcastro/repos","events_url":"https://api.github.com/users/hectcastro/events{/privacy}","received_events_url":"https://api.github.com/users/hectcastro/received_events","type":"User","site_admin":false},"created_at":"2015-01-27T18:44:41Z","updated_at":"2015-01-27T18:44:41Z","body":"In the provisioning steps, `packer` is used to unlock the things that need to be done to produce an AMI. I went with `packer` because [Packer](https://www.packer.io/) is the tool we're using to generate the AMI. Also, the goal with these AMIs is that they can run in staging and production without being modified.\r\n\r\nWhat would people like to see as a better alternative?"}}