{"action":"created","issue":{"url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/4848","labels_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/4848/labels{/name}","comments_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/4848/comments","events_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/4848/events","html_url":"https://github.com/code-dot-org/code-dot-org/pull/4848","id":113625094,"number":4848,"title":"Factor out static asset paths","user":{"login":"philbogle","id":5198586,"avatar_url":"https://avatars.githubusercontent.com/u/5198586?v=3","gravatar_id":"","url":"https://api.github.com/users/philbogle","html_url":"https://github.com/philbogle","followers_url":"https://api.github.com/users/philbogle/followers","following_url":"https://api.github.com/users/philbogle/following{/other_user}","gists_url":"https://api.github.com/users/philbogle/gists{/gist_id}","starred_url":"https://api.github.com/users/philbogle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philbogle/subscriptions","organizations_url":"https://api.github.com/users/philbogle/orgs","repos_url":"https://api.github.com/users/philbogle/repos","events_url":"https://api.github.com/users/philbogle/events{/privacy}","received_events_url":"https://api.github.com/users/philbogle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"wjordan","id":56541,"avatar_url":"https://avatars.githubusercontent.com/u/56541?v=3","gravatar_id":"","url":"https://api.github.com/users/wjordan","html_url":"https://github.com/wjordan","followers_url":"https://api.github.com/users/wjordan/followers","following_url":"https://api.github.com/users/wjordan/following{/other_user}","gists_url":"https://api.github.com/users/wjordan/gists{/gist_id}","starred_url":"https://api.github.com/users/wjordan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wjordan/subscriptions","organizations_url":"https://api.github.com/users/wjordan/orgs","repos_url":"https://api.github.com/users/wjordan/repos","events_url":"https://api.github.com/users/wjordan/events{/privacy}","received_events_url":"https://api.github.com/users/wjordan/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-10-27T16:30:06Z","updated_at":"2015-10-27T16:40:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/4848","html_url":"https://github.com/code-dot-org/code-dot-org/pull/4848","diff_url":"https://github.com/code-dot-org/code-dot-org/pull/4848.diff","patch_url":"https://github.com/code-dot-org/code-dot-org/pull/4848.patch"},"body":"Our cache config no longer tries to define behaviors for every possible static asset extension. Instead it define behaviors paths where static assets live, plus a small number of important static extensions that occur in other paths (css js mp3 jpg png).  \r\n\r\nThis covers all of the static assets that were cached previously, plus a few static assets that inadvertantly weren't being cached (e.g. .docx files)\r\n\r\nAs well as being more resilient when we add new static asset file types, this keeps us under the limit of 25 cache behaviors allowed by CloudFront.   We were already exceeding that limit for Pegasus.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/comments/151562946","html_url":"https://github.com/code-dot-org/code-dot-org/pull/4848#issuecomment-151562946","issue_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/4848","id":151562946,"user":{"login":"wjordan","id":56541,"avatar_url":"https://avatars.githubusercontent.com/u/56541?v=3","gravatar_id":"","url":"https://api.github.com/users/wjordan","html_url":"https://github.com/wjordan","followers_url":"https://api.github.com/users/wjordan/followers","following_url":"https://api.github.com/users/wjordan/following{/other_user}","gists_url":"https://api.github.com/users/wjordan/gists{/gist_id}","starred_url":"https://api.github.com/users/wjordan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wjordan/subscriptions","organizations_url":"https://api.github.com/users/wjordan/orgs","repos_url":"https://api.github.com/users/wjordan/repos","events_url":"https://api.github.com/users/wjordan/events{/privacy}","received_events_url":"https://api.github.com/users/wjordan/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T16:40:24Z","updated_at":"2015-10-27T16:40:24Z","body":"LGTM"}}