Answer the question
In order to leave comments, you need to log in
Why is there such a difference in laravel performance on hosting and local?
Transferred the project from a local computer to a hosting and was unpleasantly surprised by the performance. And it's not about queries to the database and complex logic, a simple action:
Route::get('/1', function () {
return 'привет мир!!!';
});
Answer the question
In order to leave comments, you need to log in
Most likely you configured something wrong on the hosting. In my experience, projects even on the simplest hosting or vps work much faster than locally, despite the fact that my computer is i5 10gen/16GB/
nvme stands lightweight without extra shells
100% either the php settings are not the same, or the Apache settings (the same cache settings).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question