{"action":"created","issue":{"url":"https://api.github.com/repos/airyland/vux/issues/547","repository_url":"https://api.github.com/repos/airyland/vux","labels_url":"https://api.github.com/repos/airyland/vux/issues/547/labels{/name}","comments_url":"https://api.github.com/repos/airyland/vux/issues/547/comments","events_url":"https://api.github.com/repos/airyland/vux/issues/547/events","html_url":"https://github.com/airyland/vux/issues/547","id":174155197,"number":547,"title":"在传统架构下Web应用中，如何解决页面未加载完之前的内容混乱？","user":{"login":"dangyuluo","id":4816327,"avatar_url":"https://avatars.githubusercontent.com/u/4816327?v=3","gravatar_id":"","url":"https://api.github.com/users/dangyuluo","html_url":"https://github.com/dangyuluo","followers_url":"https://api.github.com/users/dangyuluo/followers","following_url":"https://api.github.com/users/dangyuluo/following{/other_user}","gists_url":"https://api.github.com/users/dangyuluo/gists{/gist_id}","starred_url":"https://api.github.com/users/dangyuluo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dangyuluo/subscriptions","organizations_url":"https://api.github.com/users/dangyuluo/orgs","repos_url":"https://api.github.com/users/dangyuluo/repos","events_url":"https://api.github.com/users/dangyuluo/events{/privacy}","received_events_url":"https://api.github.com/users/dangyuluo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-31T00:07:59Z","updated_at":"2016-08-31T01:36:16Z","closed_at":null,"body":"<!--为了节省大家时间，请阅读清楚下面要求再提issue-->\r\n\r\n<!--不要使用”不能用“，”没效果“，”有问题“这类没有任何帮助浪费大家时间的描述，将直接关闭不会做任何反馈-->\r\n\r\n<!--1.从npm安装麻烦说明版本号。不说明将被直接关闭-->\r\n<!--2.代码没有正确格式化将被直接关闭-->\r\n<!--3.提组件需求但没有给出描述，截图，交互方式等具体信息的将被直接关闭-->\r\n<!--4.Android相关问题麻烦说明品牌机型及浏览器方便重现，如 小米 2S 微信webview-->\r\n\r\n这个问题不是Vux的，所以就不加相关描述了。总之对于非单页应用的每一个页面，在首屏完全加载之前，浏览器的工作有：\r\n1)获取页面HTML文档内容\r\n2)使用AMD加载器，加载所需要的JS资源。或许还有CSS资源。\r\n3)加载完成后初始化Vue+vux，达到所要效果。\r\n\r\n但是目前的网络状况下，第二步往往会消耗过多时间，导致页面内容暂时错位或显示不全，如文末图所示。可能浏览器缓存能起到一定作用，但是并不能有很大起色。\r\n\r\n不知道如果对于传统架构下的Web应用，有没有相关问题的推荐解决方法？\r\n\r\n![qq20160830-0 2x](https://cloud.githubusercontent.com/assets/4816327/18111375/3a0f29c6-6eed-11e6-9633-824b3918f3bd.png)\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/airyland/vux/issues/comments/243633458","html_url":"https://github.com/airyland/vux/issues/547#issuecomment-243633458","issue_url":"https://api.github.com/repos/airyland/vux/issues/547","id":243633458,"user":{"login":"airyland","id":559179,"avatar_url":"https://avatars.githubusercontent.com/u/559179?v=3","gravatar_id":"","url":"https://api.github.com/users/airyland","html_url":"https://github.com/airyland","followers_url":"https://api.github.com/users/airyland/followers","following_url":"https://api.github.com/users/airyland/following{/other_user}","gists_url":"https://api.github.com/users/airyland/gists{/gist_id}","starred_url":"https://api.github.com/users/airyland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airyland/subscriptions","organizations_url":"https://api.github.com/users/airyland/orgs","repos_url":"https://api.github.com/users/airyland/repos","events_url":"https://api.github.com/users/airyland/events{/privacy}","received_events_url":"https://api.github.com/users/airyland/received_events","type":"User","site_admin":false},"created_at":"2016-08-31T01:36:16Z","updated_at":"2016-08-31T01:36:16Z","body":"为什么不合并压缩js？"}}
{"actor":{"display_login":"airyland"}}