{"action":"closed","number":4845,"pull_request":{"url":"https://api.github.com/repos/mozilla/kuma/pulls/4845","id":193468734,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzNDY4NzM0","html_url":"https://github.com/mozilla/kuma/pull/4845","diff_url":"https://github.com/mozilla/kuma/pull/4845.diff","patch_url":"https://github.com/mozilla/kuma/pull/4845.patch","issue_url":"https://api.github.com/repos/mozilla/kuma/issues/4845","number":4845,"state":"closed","locked":false,"title":"bug 1431259: change cache TTL from 5min to 24hr (experiment)","user":{"login":"escattone","id":3743693,"node_id":"MDQ6VXNlcjM3NDM2OTM=","avatar_url":"https://avatars2.githubusercontent.com/u/3743693?v=4","gravatar_id":"","url":"https://api.github.com/users/escattone","html_url":"https://github.com/escattone","followers_url":"https://api.github.com/users/escattone/followers","following_url":"https://api.github.com/users/escattone/following{/other_user}","gists_url":"https://api.github.com/users/escattone/gists{/gist_id}","starred_url":"https://api.github.com/users/escattone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/escattone/subscriptions","organizations_url":"https://api.github.com/users/escattone/orgs","repos_url":"https://api.github.com/users/escattone/repos","events_url":"https://api.github.com/users/escattone/events{/privacy}","received_events_url":"https://api.github.com/users/escattone/received_events","type":"User","site_admin":false},"body":"**This PR should not be merged until we're ready to run [the experiment to extend the CDN caching TTL](https://github.com/mdn/sprints/issues/175).**\r\n\r\nChanges the `s_maxage` setting of the `Cache-Control` header from 5 minutes to 24 hours for all of the endpoints with responses modified by `kuma.core.utils.add_shared_cache_control`. This setting is used in turn by MDN's CloudFront CDN to set the TTL period for its caching. This is an experiment, and will be reverted a short time (2-5 days) after it's merged and deployed.","created_at":"2018-06-07T22:53:24Z","updated_at":"2018-06-11T16:47:17Z","closed_at":"2018-06-11T16:47:17Z","merged_at":"2018-06-11T16:47:17Z","merge_commit_sha":"4cad652616ff4d4108b51d9003fa8cb8b0a7e2df","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/kuma/pulls/4845/commits","review_comments_url":"https://api.github.com/repos/mozilla/kuma/pulls/4845/comments","review_comment_url":"https://api.github.com/repos/mozilla/kuma/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/kuma/issues/4845/comments","statuses_url":"https://api.github.com/repos/mozilla/kuma/statuses/0d5e5ae1c63e7229e9b7356cb32f999332c3f3ad","head":{"label":"escattone:cdn-cache-ttl-experiment-1431259","ref":"cdn-cache-ttl-experiment-1431259","sha":"0d5e5ae1c63e7229e9b7356cb32f999332c3f3ad","user":{"login":"escattone","id":3743693,"node_id":"MDQ6VXNlcjM3NDM2OTM=","avatar_url":"https://avatars2.githubusercontent.com/u/3743693?v=4","gravatar_id":"","url":"https://api.github.com/users/escattone","html_url":"https://github.com/escattone","followers_url":"https://api.github.com/users/escattone/followers","following_url":"https://api.github.com/users/escattone/following{/other_user}","gists_url":"https://api.github.com/users/escattone/gists{/gist_id}","starred_url":"https://api.github.com/users/escattone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/escattone/subscriptions","organizations_url":"https://api.github.com/users/escattone/orgs","repos_url":"https://api.github.com/users/escattone/repos","events_url":"https://api.github.com/users/escattone/events{/privacy}","received_events_url":"https://api.github.com/users/escattone/received_events","type":"User","site_admin":false},"repo":{"id":69504221,"node_id":"MDEwOlJlcG9zaXRvcnk2OTUwNDIyMQ==","name":"kuma","full_name":"escattone/kuma","owner":{"login":"escattone","id":3743693,"node_id":"MDQ6VXNlcjM3NDM2OTM=","avatar_url":"https://avatars2.githubusercontent.com/u/3743693?v=4","gravatar_id":"","url":"https://api.github.com/users/escattone","html_url":"https://github.com/escattone","followers_url":"https://api.github.com/users/escattone/followers","following_url":"https://api.github.com/users/escattone/following{/other_user}","gists_url":"https://api.github.com/users/escattone/gists{/gist_id}","starred_url":"https://api.github.com/users/escattone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/escattone/subscriptions","organizations_url":"https://api.github.com/users/escattone/orgs","repos_url":"https://api.github.com/users/escattone/repos","events_url":"https://api.github.com/users/escattone/events{/privacy}","received_events_url":"https://api.github.com/users/escattone/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/escattone/kuma","description":"The project that powers MDN.","fork":true,"url":"https://api.github.com/repos/escattone/kuma","forks_url":"https://api.github.com/repos/escattone/kuma/forks","keys_url":"https://api.github.com/repos/escattone/kuma/keys{/key_id}","collaborators_url":"https://api.github.com/repos/escattone/kuma/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/escattone/kuma/teams","hooks_url":"https://api.github.com/repos/escattone/kuma/hooks","issue_events_url":"https://api.github.com/repos/escattone/kuma/issues/events{/number}","events_url":"https://api.github.com/repos/escattone/kuma/events","assignees_url":"https://api.github.com/repos/escattone/kuma/assignees{/user}","branches_url":"https://api.github.com/repos/escattone/kuma/branches{/branch}","tags_url":"https://api.github.com/repos/escattone/kuma/tags","blobs_url":"https://api.github.com/repos/escattone/kuma/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/escattone/kuma/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/escattone/kuma/git/refs{/sha}","trees_url":"https://api.github.com/repos/escattone/kuma/git/trees{/sha}","statuses_url":"https://api.github.com/repos/escattone/kuma/statuses/{sha}","languages_url":"https://api.github.com/repos/escattone/kuma/languages","stargazers_url":"https://api.github.com/repos/escattone/kuma/stargazers","contributors_url":"https://api.github.com/repos/escattone/kuma/contributors","subscribers_url":"https://api.github.com/repos/escattone/kuma/subscribers","subscription_url":"https://api.github.com/repos/escattone/kuma/subscription","commits_url":"https://api.github.com/repos/escattone/kuma/commits{/sha}","git_commits_url":"https://api.github.com/repos/escattone/kuma/git/commits{/sha}","comments_url":"https://api.github.com/repos/escattone/kuma/comments{/number}","issue_comment_url":"https://api.github.com/repos/escattone/kuma/issues/comments{/number}","contents_url":"https://api.github.com/repos/escattone/kuma/contents/{+path}","compare_url":"https://api.github.com/repos/escattone/kuma/compare/{base}...{head}","merges_url":"https://api.github.com/repos/escattone/kuma/merges","archive_url":"https://api.github.com/repos/escattone/kuma/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/escattone/kuma/downloads","issues_url":"https://api.github.com/repos/escattone/kuma/issues{/number}","pulls_url":"https://api.github.com/repos/escattone/kuma/pulls{/number}","milestones_url":"https://api.github.com/repos/escattone/kuma/milestones{/number}","notifications_url":"https://api.github.com/repos/escattone/kuma/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/escattone/kuma/labels{/name}","releases_url":"https://api.github.com/repos/escattone/kuma/releases{/id}","deployments_url":"https://api.github.com/repos/escattone/kuma/deployments","created_at":"2016-09-28T21:13:11Z","updated_at":"2018-06-07T20:49:09Z","pushed_at":"2018-06-10T19:53:19Z","git_url":"git://github.com/escattone/kuma.git","ssh_url":"git@github.com:escattone/kuma.git","clone_url":"https://github.com/escattone/kuma.git","svn_url":"https://github.com/escattone/kuma","homepage":"https://developer.mozilla.org","size":204387,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"0a58382776fc2c81fb1f140110820a5a4d3454de","user":{"login":"mozilla","id":131524,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMTUyNA==","avatar_url":"https://avatars2.githubusercontent.com/u/131524?v=4","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":1352520,"node_id":"MDEwOlJlcG9zaXRvcnkxMzUyNTIw","name":"kuma","full_name":"mozilla/kuma","owner":{"login":"mozilla","id":131524,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMTUyNA==","avatar_url":"https://avatars2.githubusercontent.com/u/131524?v=4","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/kuma","description":"The project that powers MDN.","fork":false,"url":"https://api.github.com/repos/mozilla/kuma","forks_url":"https://api.github.com/repos/mozilla/kuma/forks","keys_url":"https://api.github.com/repos/mozilla/kuma/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/kuma/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/kuma/teams","hooks_url":"https://api.github.com/repos/mozilla/kuma/hooks","issue_events_url":"https://api.github.com/repos/mozilla/kuma/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/kuma/events","assignees_url":"https://api.github.com/repos/mozilla/kuma/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/kuma/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/kuma/tags","blobs_url":"https://api.github.com/repos/mozilla/kuma/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/kuma/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/kuma/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/kuma/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/kuma/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/kuma/languages","stargazers_url":"https://api.github.com/repos/mozilla/kuma/stargazers","contributors_url":"https://api.github.com/repos/mozilla/kuma/contributors","subscribers_url":"https://api.github.com/repos/mozilla/kuma/subscribers","subscription_url":"https://api.github.com/repos/mozilla/kuma/subscription","commits_url":"https://api.github.com/repos/mozilla/kuma/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/kuma/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/kuma/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/kuma/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/kuma/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/kuma/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/kuma/merges","archive_url":"https://api.github.com/repos/mozilla/kuma/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/kuma/downloads","issues_url":"https://api.github.com/repos/mozilla/kuma/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/kuma/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/kuma/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/kuma/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/kuma/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/kuma/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/kuma/deployments","created_at":"2011-02-10T21:48:06Z","updated_at":"2018-06-11T15:46:05Z","pushed_at":"2018-06-11T16:47:17Z","git_url":"git://github.com/mozilla/kuma.git","ssh_url":"git@github.com:mozilla/kuma.git","clone_url":"https://github.com/mozilla/kuma.git","svn_url":"https://github.com/mozilla/kuma","homepage":"https://developer.mozilla.org","size":204390,"stargazers_count":1269,"watchers_count":1269,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":614,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":614,"open_issues":5,"watchers":1269,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/kuma/pulls/4845"},"html":{"href":"https://github.com/mozilla/kuma/pull/4845"},"issue":{"href":"https://api.github.com/repos/mozilla/kuma/issues/4845"},"comments":{"href":"https://api.github.com/repos/mozilla/kuma/issues/4845/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/kuma/pulls/4845/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/kuma/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/kuma/pulls/4845/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/kuma/statuses/0d5e5ae1c63e7229e9b7356cb32f999332c3f3ad"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"escattone","id":3743693,"node_id":"MDQ6VXNlcjM3NDM2OTM=","avatar_url":"https://avatars2.githubusercontent.com/u/3743693?v=4","gravatar_id":"","url":"https://api.github.com/users/escattone","html_url":"https://github.com/escattone","followers_url":"https://api.github.com/users/escattone/followers","following_url":"https://api.github.com/users/escattone/following{/other_user}","gists_url":"https://api.github.com/users/escattone/gists{/gist_id}","starred_url":"https://api.github.com/users/escattone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/escattone/subscriptions","organizations_url":"https://api.github.com/users/escattone/orgs","repos_url":"https://api.github.com/users/escattone/repos","events_url":"https://api.github.com/users/escattone/events{/privacy}","received_events_url":"https://api.github.com/users/escattone/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"escattone"}}