You should consider creating lazy loaded vulcanized bundles. Polymer CLI can do this for you.
It also looks like your elements.html carries a bunch of locales for moment.js. That is adding a lot of weight to your import bundle. I'd suggest only loading what you need give the user's document.documentElement.lang. On Thu, Nov 17, 2016 at 10:07 AM Daniel Llewellyn <[email protected]> wrote: > On Thu, 17 Nov 2016 at 12:42 Антон Мирошниченко <[email protected]> wrote: > > There is no necessity to sign up to see described effect. > > четверг, 17 ноября 2016 г., 14:00:29 UTC+3 пользователь Антон Мирошниченко > написал: > > Hello everyone! > > I have my polymer SPA application called "Designmap" > https://app.designmap.ru (it is not ads). It is pretty massive now. > Everything woks fine on webkit. But if we will try to use FF for instance > it will be not so good. A start loading bar will be showed too long time > (~4sec). And it is directly related with "webComponentsReady" event. > Because i stop loading when all of components is loaded. For example Chrome > needs a few moments to load all components. I use Polymer Starter Kit with > Vulcanizer but it is not a solution. Could somebody help me with it? I > would like to incrase performance of my app in FF. > > > From a quick look you appear to be expecting 2 megabytes of HTML to be > parsed quickly. And on top of that you're expecting the parsing to happen > as quickly in a polyfill as it happens natively. I think you need to try > reducing the amount of HTML you send to the browser to be just what is > needed for each view and lazy-load the rest rather than expecting the > visitor to download all 2MB on first-hit. > > Follow Polymer on Google+: plus.google.com/107187849809354688692 > --- > You received this message because you are subscribed to the Google Groups > "Polymer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/polymer-dev/CABtuYwfp-ipCH3uaSP_0v%3DoRDnqV%3DY59eUZq7GDOaJ_Nt%2BbMhw%40mail.gmail.com > <https://groups.google.com/d/msgid/polymer-dev/CABtuYwfp-ipCH3uaSP_0v%3DoRDnqV%3DY59eUZq7GDOaJ_Nt%2BbMhw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > Follow Polymer on Google+: plus.google.com/107187849809354688692 --- You received this message because you are subscribed to the Google Groups "Polymer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/CACGqRCB-%3DkP2f-VdXc2SQgEZRuDFSgkihrQYOwfbwJzdQktdiQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
