{"action":"created","issue":{"url":"https://api.github.com/repos/foosel/OctoPrint/issues/1138","labels_url":"https://api.github.com/repos/foosel/OctoPrint/issues/1138/labels{/name}","comments_url":"https://api.github.com/repos/foosel/OctoPrint/issues/1138/comments","events_url":"https://api.github.com/repos/foosel/OctoPrint/issues/1138/events","html_url":"https://github.com/foosel/OctoPrint/issues/1138","id":121312834,"number":1138,"title":"minify all javascript libs?","user":{"login":"houqp","id":670302,"avatar_url":"https://avatars.githubusercontent.com/u/670302?v=3","gravatar_id":"","url":"https://api.github.com/users/houqp","html_url":"https://github.com/houqp","followers_url":"https://api.github.com/users/houqp/followers","following_url":"https://api.github.com/users/houqp/following{/other_user}","gists_url":"https://api.github.com/users/houqp/gists{/gist_id}","starred_url":"https://api.github.com/users/houqp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houqp/subscriptions","organizations_url":"https://api.github.com/users/houqp/orgs","repos_url":"https://api.github.com/users/houqp/repos","events_url":"https://api.github.com/users/houqp/events{/privacy}","received_events_url":"https://api.github.com/users/houqp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/foosel/OctoPrint/labels/status:incomplete%20ticket","name":"status:incomplete ticket","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-09T18:46:32Z","updated_at":"2015-12-09T19:23:45Z","closed_at":"2015-12-09T19:23:45Z","body":"Any reason why packed_lib.js and packed_app.js are not minified? They adds up to 1.4MB in total and the download time was 7s for me (in parallel)."},"comment":{"url":"https://api.github.com/repos/foosel/OctoPrint/issues/comments/163364139","html_url":"https://github.com/foosel/OctoPrint/issues/1138#issuecomment-163364139","issue_url":"https://api.github.com/repos/foosel/OctoPrint/issues/1138","id":163364139,"user":{"login":"foosel","id":83657,"avatar_url":"https://avatars.githubusercontent.com/u/83657?v=3","gravatar_id":"","url":"https://api.github.com/users/foosel","html_url":"https://github.com/foosel","followers_url":"https://api.github.com/users/foosel/followers","following_url":"https://api.github.com/users/foosel/following{/other_user}","gists_url":"https://api.github.com/users/foosel/gists{/gist_id}","starred_url":"https://api.github.com/users/foosel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foosel/subscriptions","organizations_url":"https://api.github.com/users/foosel/orgs","repos_url":"https://api.github.com/users/foosel/repos","events_url":"https://api.github.com/users/foosel/events{/privacy}","received_events_url":"https://api.github.com/users/foosel/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T19:23:45Z","updated_at":"2015-12-09T19:23:45Z","body":"Yes, high chances of producing invalid js files depending on the order they happen to be processed and installed plugins. Tried minifying by default during RC testing of 1.2.0, let to various problems for several users. Since the files can (and will be) cached aggressively by the browser, it's just not worth the hassle of getting it to work reliably regardless of context during processing. That decision might be revisited once we switch to shipping releases with precompiled assets (right now they are bundled via webassets) via pypi though."}}