{"action":"created","issue":{"url":"https://api.github.com/repos/edx/edx-platform/issues/8894","labels_url":"https://api.github.com/repos/edx/edx-platform/issues/8894/labels{/name}","comments_url":"https://api.github.com/repos/edx/edx-platform/issues/8894/comments","events_url":"https://api.github.com/repos/edx/edx-platform/issues/8894/events","html_url":"https://github.com/edx/edx-platform/pull/8894","id":94743361,"number":8894,"title":"Implement RequireJS Optimizer in the LMS","user":{"login":"andy-armstrong","id":5985072,"avatar_url":"https://avatars.githubusercontent.com/u/5985072?v=3","gravatar_id":"","url":"https://api.github.com/users/andy-armstrong","html_url":"https://github.com/andy-armstrong","followers_url":"https://api.github.com/users/andy-armstrong/followers","following_url":"https://api.github.com/users/andy-armstrong/following{/other_user}","gists_url":"https://api.github.com/users/andy-armstrong/gists{/gist_id}","starred_url":"https://api.github.com/users/andy-armstrong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andy-armstrong/subscriptions","organizations_url":"https://api.github.com/users/andy-armstrong/orgs","repos_url":"https://api.github.com/users/andy-armstrong/repos","events_url":"https://api.github.com/users/andy-armstrong/events{/privacy}","received_events_url":"https://api.github.com/users/andy-armstrong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-07-13T15:09:27Z","updated_at":"2015-07-14T17:30:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/edx/edx-platform/pulls/8894","html_url":"https://github.com/edx/edx-platform/pull/8894","diff_url":"https://github.com/edx/edx-platform/pull/8894.diff","patch_url":"https://github.com/edx/edx-platform/pull/8894.patch"},"body":"https://openedx.atlassian.net/browse/TNL-2487\r\n\r\nThis PR adds RequireJS optimizer support to the LMS and optimizes the teams tab. Other RequireJS usages will be optimized in individual PRs against this branch.\r\n\r\nSee this wiki page for all the details about RequireJS usage in the LMS, and previous attempts to add optimizer:\r\n\r\nhttps://openedx.atlassian.net/wiki/display/TNL/RequireJS+in+the+LMS\r\n\r\nAnd here for our testing strategy for this PR (and child PRs):\r\n\r\nhttps://openedx.atlassian.net/wiki/display/TNL/Testing+RequireJS+Optimizer+in+LMS"},"comment":{"url":"https://api.github.com/repos/edx/edx-platform/issues/comments/121316650","html_url":"https://github.com/edx/edx-platform/pull/8894#issuecomment-121316650","issue_url":"https://api.github.com/repos/edx/edx-platform/issues/8894","id":121316650,"user":{"login":"andy-armstrong","id":5985072,"avatar_url":"https://avatars.githubusercontent.com/u/5985072?v=3","gravatar_id":"","url":"https://api.github.com/users/andy-armstrong","html_url":"https://github.com/andy-armstrong","followers_url":"https://api.github.com/users/andy-armstrong/followers","following_url":"https://api.github.com/users/andy-armstrong/following{/other_user}","gists_url":"https://api.github.com/users/andy-armstrong/gists{/gist_id}","starred_url":"https://api.github.com/users/andy-armstrong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andy-armstrong/subscriptions","organizations_url":"https://api.github.com/users/andy-armstrong/orgs","repos_url":"https://api.github.com/users/andy-armstrong/repos","events_url":"https://api.github.com/users/andy-armstrong/events{/privacy}","received_events_url":"https://api.github.com/users/andy-armstrong/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T17:30:15Z","updated_at":"2015-07-14T17:30:15Z","body":"Yes, it doesn't seem like this is an optimizer problem. I think the issue is that any files that changed their content (and hence their MD5 hash) will not load until the cache expires. Maybe optimized files are more likely to suffer from this because so much can change (and maybe optimizer doesn't always produce an MD5-equivalent file for the same contents)."}}