Flet takes too long to boot up the application #3203
-
I have a problem related to the long startup of an application in flet. It could take even 5 minutes to show a screen, and after that it crashes, but when I destroy the process and rerun it it takes only 2-3 seconds to start the app. Can anyone explain how can the first startup of an app take so long? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
This usually always happens with all sites, just not for so long, but everything takes a little longer the first time, this happens because the entire site is loaded on the client for the first time - the first time it saves everything it needs in cookies (by the way, it doesn’t ask about this) But and the next time you log in, it simply pulls up everything from the cookies. THIS IS MY PERSONAL SUBJECTIVE OPINION HOW THIS HAPPENS |
Beta Was this translation helpful? Give feedback.
-
I found the problem and I think it could be helpful for big projects. When I was running the project I used the As a solution I recommend avoiding running the
|
Beta Was this translation helpful? Give feedback.
I found the problem and I think it could be helpful for big projects.
When I was running the project I used the
flet -r
command, that is indexing all the project's file tree. So by growing the file quantity we extend the time it takes to startup the app..As a solution I recommend avoiding running the
flet -r
command and opt out for: