Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Preloading lazy modules #3695


User avatar
0
bilalhaidar created

Hello,

In the *-routing.module.ts files you specify for each route an object of "data: { preload: true }".

Are you defining a preload-strategy somewhere? Otherwise, why add this property with preload:true?

Thanks


4 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @bilalhaidar,

    You are right, it seems like this is unnecessart for now. Maybe we can add a preload strategy.

    Thanks for pointing this out.

  • User Avatar
    0
    bilalhaidar created

    Ok, thanks a lot.

    Can you please have a look at this post: <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/383">https://github.com/aspnetzero/aspnet-ze ... issues/383</a>

    Thanks Bilal

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @bilalhaidar, I replied your question, we can continue on github.

    Thanks.

  • User Avatar
    0
    bilalhaidar created

    Thanks a lot :)