Answer the question
In order to leave comments, you need to log in
Why does a new Laravel project take a long time to load?
I installed a new Laravel project through Composer (I am studying it slowly) and noticed that if the site is not updated for a long time, then when you restart it, it takes a very long time to load. In my case, the debugger shows 7 seconds. And then already 100-150 ms. Why can this be so? Here is a screenshot of the timeline
and here is a screenshot if you update a second time
Answer the question
In order to leave comments, you need to log in
I have one project under Windows loaded for a very long time (open server yuzal). And I flew on a combat server, switched to Linux and everything was buzzing. I didn’t even begin to figure out what kind of magic was happening with Windows. And there sql queries were processed for a very long time.
Try it under linux if you are on windows.
I'm assuming you're running Windows with Vagrant/Homestead or Docker
If that's correct then you most likely have mount speed issues. but it starts to work faster just because opcache works for a short time
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question