How to fix long delay after loading lazily loaded chunk in AngularHow to add bootstrap to an angular-cli projectAngular CLI - Lazy Loading - No chunksShow activity Indicator while loading a lazy loaded Module in Angular 2Styles loading after angular application loads with CLIangular 2 lazy loading of chunks with webpackAngular: Resolver delays component load even after the service has returnedAngular custom/delayed Lazy PreloadingStrategy bugHow to lazy load libraries in Angular applicationAngular 7 loading the after login component very slowly

School House Points (Python + SQLite)

Why do they not say "The Baby"

What is temperature on a quantum level?

If the derivative of a function is square of it then it is constant

What would be the ideal melee weapon made of "Phase Metal"?

Are lithium batteries allowed in the International Space Station?

Report how much space is used and available in storage in ZFS on FreeBSD

Are there J.S. Bach pieces that do not start with the tonic chord?

Doing research in academia and not liking competition

What are some symbols representing peasants/oppressed persons fighting back?

Construct a pentagon avoiding compass use

Why exactly was Star Wars: Clone Wars (2003) excluded from Disney Canon?

Would letting a multiclass character rebuild their character to be single-classed be game-breaking?

Did any of the founding fathers anticipate Lysander Spooner's criticism of the constitution?

Why limit to revolvers?

Was the Ford Model T black because of the speed black paint dries?

In which ways do anagamis still experience ignorance?

Should you avoid redundant information after dialogue?

How do I write a romance that doesn't look obvious

Is this floating-point optimization allowed?

Dropping outliers based on "2.5 times the RMSE"

Why doesn't the Lars family (and thus Luke) speak Huttese as their first language?

A DVR algebra with weird automorphisms

As a DM, how to avoid unconscious metagaming when dealing with a high AC character?



How to fix long delay after loading lazily loaded chunk in Angular


How to add bootstrap to an angular-cli projectAngular CLI - Lazy Loading - No chunksShow activity Indicator while loading a lazy loaded Module in Angular 2Styles loading after angular application loads with CLIangular 2 lazy loading of chunks with webpackAngular: Resolver delays component load even after the service has returnedAngular custom/delayed Lazy PreloadingStrategy bugHow to lazy load libraries in Angular applicationAngular 7 loading the after login component very slowly






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I have divided the Angular project in multiple modules. Initially, main module gets loaded with login page. Once user logs in, second module gets loaded.



Now, once user clicks on login button, screen is getting halted in the same page for 13-14 secs after that it is moving to next page.



Chuck is hardly taking time to load in network.



What should I do to avoid this delay after clicking login.



Note: This only happens once.If user logout and login again, it won't take time.



I thought my second bundle is taking time to complile but project was taking less time before dividing into modules.










share|improve this question






























    1















    I have divided the Angular project in multiple modules. Initially, main module gets loaded with login page. Once user logs in, second module gets loaded.



    Now, once user clicks on login button, screen is getting halted in the same page for 13-14 secs after that it is moving to next page.



    Chuck is hardly taking time to load in network.



    What should I do to avoid this delay after clicking login.



    Note: This only happens once.If user logout and login again, it won't take time.



    I thought my second bundle is taking time to complile but project was taking less time before dividing into modules.










    share|improve this question


























      1












      1








      1


      0






      I have divided the Angular project in multiple modules. Initially, main module gets loaded with login page. Once user logs in, second module gets loaded.



      Now, once user clicks on login button, screen is getting halted in the same page for 13-14 secs after that it is moving to next page.



      Chuck is hardly taking time to load in network.



      What should I do to avoid this delay after clicking login.



      Note: This only happens once.If user logout and login again, it won't take time.



      I thought my second bundle is taking time to complile but project was taking less time before dividing into modules.










      share|improve this question
















      I have divided the Angular project in multiple modules. Initially, main module gets loaded with login page. Once user logs in, second module gets loaded.



      Now, once user clicks on login button, screen is getting halted in the same page for 13-14 secs after that it is moving to next page.



      Chuck is hardly taking time to load in network.



      What should I do to avoid this delay after clicking login.



      Note: This only happens once.If user logout and login again, it won't take time.



      I thought my second bundle is taking time to complile but project was taking less time before dividing into modules.







      angular module lazy-loading






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 26 at 8:07







      Ashish Bisht

















      asked Mar 26 at 5:54









      Ashish BishtAshish Bisht

      247 bronze badges




      247 bronze badges






















          0






          active

          oldest

          votes










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55350632%2fhow-to-fix-long-delay-after-loading-lazily-loaded-chunk-in-angular%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes




          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55350632%2fhow-to-fix-long-delay-after-loading-lazily-loaded-chunk-in-angular%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Obelisk of Theodosius Contents History Description Notes Bibliography Further reading External links Navigation menuAge of spirituality : late antique and early Christian art, third to seventh centuryOver 60 picturesObelisks of the World41°00′21.24″N 28°58′31.43″E / 41.0059000°N 28.9753972°E / 41.0059000; 28.97539727724550-7235741376235741376

          밀양 대씨 역사 각주 함께 보기 둘러보기 메뉴밀양 대씨

          1973년 목차 사건 문화 탄생 사망 노벨상 달력 둘러보기 메뉴