{"action":"created","issue":{"url":"https://api.github.com/repos/Polymer/polymer/issues/3565","repository_url":"https://api.github.com/repos/Polymer/polymer","labels_url":"https://api.github.com/repos/Polymer/polymer/issues/3565/labels{/name}","comments_url":"https://api.github.com/repos/Polymer/polymer/issues/3565/comments","events_url":"https://api.github.com/repos/Polymer/polymer/issues/3565/events","html_url":"https://github.com/Polymer/polymer/issues/3565","id":146410140,"number":3565,"title":"Huge loading time on iOS safari ","user":{"login":"fleckdalm","id":12670319,"avatar_url":"https://avatars.githubusercontent.com/u/12670319?v=3","gravatar_id":"","url":"https://api.github.com/users/fleckdalm","html_url":"https://github.com/fleckdalm","followers_url":"https://api.github.com/users/fleckdalm/followers","following_url":"https://api.github.com/users/fleckdalm/following{/other_user}","gists_url":"https://api.github.com/users/fleckdalm/gists{/gist_id}","starred_url":"https://api.github.com/users/fleckdalm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fleckdalm/subscriptions","organizations_url":"https://api.github.com/users/fleckdalm/orgs","repos_url":"https://api.github.com/users/fleckdalm/repos","events_url":"https://api.github.com/users/fleckdalm/events{/privacy}","received_events_url":"https://api.github.com/users/fleckdalm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Polymer/polymer/labels/pending-response","name":"pending-response","color":"333333"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-06T19:29:03Z","updated_at":"2016-04-18T14:34:26Z","closed_at":null,"body":"I have rather big app with about 60 html imports. In Chrome on Desktop it loads in under 1 second and on Android in the webview it needs about 1-2 seconds. However if it's loaded on iOS in the mobile webview the initial loading takes more than 12 seconds! This is really huge and totally unacceptable for production usage! Are there any improvements planned for this in the near future? "},"comment":{"url":"https://api.github.com/repos/Polymer/polymer/issues/comments/211405952","html_url":"https://github.com/Polymer/polymer/issues/3565#issuecomment-211405952","issue_url":"https://api.github.com/repos/Polymer/polymer/issues/3565","id":211405952,"user":{"login":"fleckdalm","id":12670319,"avatar_url":"https://avatars.githubusercontent.com/u/12670319?v=3","gravatar_id":"","url":"https://api.github.com/users/fleckdalm","html_url":"https://github.com/fleckdalm","followers_url":"https://api.github.com/users/fleckdalm/followers","following_url":"https://api.github.com/users/fleckdalm/following{/other_user}","gists_url":"https://api.github.com/users/fleckdalm/gists{/gist_id}","starred_url":"https://api.github.com/users/fleckdalm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fleckdalm/subscriptions","organizations_url":"https://api.github.com/users/fleckdalm/orgs","repos_url":"https://api.github.com/users/fleckdalm/repos","events_url":"https://api.github.com/users/fleckdalm/events{/privacy}","received_events_url":"https://api.github.com/users/fleckdalm/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T14:34:26Z","updated_at":"2016-04-18T14:34:26Z","body":"Unfortunately I don't have a demo page as this is an internal application I'm currently working on and it won't be published soon. \r\n\r\nI'm unable to run your script in iOS Safari (which would be the most relevant) because you are using chrome functions in it. However here is the output from chrome:\r\n\r\n> First paint took 237.928955078125 ms\r\nVM32064:9 Load took 3013 ms\r\nVM32064:20 Custom element instances: 565\r\nVM32064:25 === Properties set to reflectToAttribute ===\r\nVM32064:29 paper-ripple.animating\r\nVM32064:29 paper-material.elevation\r\nVM32064:29 paper-material.animated\r\nVM32064:29 paper-tab.link\r\nVM32064:29 paper-input-error.invalid\r\nVM32064:29 google-map.latitude\r\nVM32064:29 google-map.longitude\r\nVM32064:29 app-drawer.opened\r\nVM32064:29 app-drawer.persistent\r\nVM32064:29 app-drawer.position\r\nVM32064:29 app-drawer.swipeOpen\r\nVM32064:29 app-drawer-layout.narrow\r\nVM32064:29 app-header-layout.hasScrollingRegion\r\nVM32064:29 app-header.shadow\r\nVM32064:29 paper-button.raised\r\nVM32064:29 iron-overlay-backdrop.opened\r\nVM32064:29 iron-dropdown.horizontalAlign\r\nVM32064:29 iron-dropdown.verticalAlign\r\nVM32064:29 kwc-i18n.var\r\nVM32064:29 kwc-date-format.output\r\nVM32064:29 vaadin-combo-box-overlay.touchDevice\r\nVM32064:29 vaadin-combo-box.label\r\nVM32064:29 paper-step.opened\r\nVM32064:29 paper-step.editable\r\nVM32064:29 paper-step.selectable\r\nVM32064:29 paper-fab.mini\r\nVM32064:29 paper-progress.disabled\r\nVM32064:29 geo-location.latitude\r\nVM32064:29 geo-location.longitude\r\nVM32064:46 Total properties set to reflectToAttribute: 29\r\nVM32064:52 === HTML Imports load times ===\r\nVM32064:60 2 imports loaded from the main page. Total time: 27.714999999999918ms\r\nVM32064:61 (index)       url                                                                                ms      \r\n                      0              \"http://localhost:5000/elements/elements.html\"            9.115000000000009\r\n                      1               \"http://localhost:5000/elements/lazy-elements.html\"   18.59999999999991"}}