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;
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
add a comment |
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
add a comment |
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
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
angular module lazy-loading
edited Mar 26 at 8:07
Ashish Bisht
asked Mar 26 at 5:54
Ashish BishtAshish Bisht
247 bronze badges
247 bronze badges
add a comment |
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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.
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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