I have a question, I need to load a model in my application, however I would like to do it from the landing page, and this is done in the background without compromising navigation on the application (change page via multipage, login, etc.).
Your model is cached, so the loading time delay is only felt in the first call. This does not even matter to everyone. A single user can trigger a cache and all the other users can benefit from it. The server can just use the cached model to all subsequent users.
How many minutes does your function take to load the model for the first time?