{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/3850","labels_url":"https://api.github.com/repos/openshift/origin/issues/3850/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/3850/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/3850/events","html_url":"https://github.com/openshift/origin/pull/3850","id":96648184,"number":3850,"title":"Add Cache-Control: no-cache header to assets","user":{"login":"spadgett","id":1167259,"avatar_url":"https://avatars.githubusercontent.com/u/1167259?v=3","gravatar_id":"","url":"https://api.github.com/users/spadgett","html_url":"https://github.com/spadgett","followers_url":"https://api.github.com/users/spadgett/followers","following_url":"https://api.github.com/users/spadgett/following{/other_user}","gists_url":"https://api.github.com/users/spadgett/gists{/gist_id}","starred_url":"https://api.github.com/users/spadgett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spadgett/subscriptions","organizations_url":"https://api.github.com/users/spadgett/orgs","repos_url":"https://api.github.com/users/spadgett/repos","events_url":"https://api.github.com/users/spadgett/events{/privacy}","received_events_url":"https://api.github.com/users/spadgett/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-22T19:41:40Z","updated_at":"2015-07-22T19:42:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/3850","html_url":"https://github.com/openshift/origin/pull/3850","diff_url":"https://github.com/openshift/origin/pull/3850.diff","patch_url":"https://github.com/openshift/origin/pull/3850.patch"},"body":"Fixes #3007\r\n\r\n`Cache-Control: no-cache` forces clients to revalidate ETags using `If-None-Match` each time the Web Console is loaded.\r\n\r\n<img width=\"551\" alt=\"openshift_web_console_and_comparing_openshift_master___spadgett_no-cache_ _openshift_origin\" src=\"https://cloud.githubusercontent.com/assets/1167259/8835296/956c06ea-3087-11e5-9535-06232b77ea50.png\">\r\n\r\nFirst load:\r\n\r\n<img width=\"1041\" alt=\"openshift_web_console_and_openshift_web_console\" src=\"https://cloud.githubusercontent.com/assets/1167259/8835224/19602338-3087-11e5-8050-3b330c091ecf.png\">\r\n\r\nSecond load:\r\n\r\n<img width=\"1033\" alt=\"openshift_web_console_and_openshift_web_console\" src=\"https://cloud.githubusercontent.com/assets/1167259/8835231/2522de4a-3087-11e5-9aa3-e60f8f060562.png\">\r\n\r\nI've verified that after a new commit and build, the client gets the new version.\r\n\r\nhttp://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.1\r\n\r\n> no-cache\r\n> If the no-cache directive does not specify a field-name, then a cache MUST NOT use the response to satisfy a subsequent request without successful revalidation with the origin server.\r\n"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/123840314","html_url":"https://github.com/openshift/origin/pull/3850#issuecomment-123840314","issue_url":"https://api.github.com/repos/openshift/origin/issues/3850","id":123840314,"user":{"login":"spadgett","id":1167259,"avatar_url":"https://avatars.githubusercontent.com/u/1167259?v=3","gravatar_id":"","url":"https://api.github.com/users/spadgett","html_url":"https://github.com/spadgett","followers_url":"https://api.github.com/users/spadgett/followers","following_url":"https://api.github.com/users/spadgett/following{/other_user}","gists_url":"https://api.github.com/users/spadgett/gists{/gist_id}","starred_url":"https://api.github.com/users/spadgett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spadgett/subscriptions","organizations_url":"https://api.github.com/users/spadgett/orgs","repos_url":"https://api.github.com/users/spadgett/repos","events_url":"https://api.github.com/users/spadgett/events{/privacy}","received_events_url":"https://api.github.com/users/spadgett/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T19:42:49Z","updated_at":"2015-07-22T19:42:49Z","body":"Related to #3790\r\n\r\n/cc @liggitt "}}