Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
First you need to determine the bottleneck. We open the console in the browser and see where and what is slow. It may be things not related to yii. For example, a 20 mb script in the header. Or a million other reasons. If we see that the server response still leaves much to be desired, then open the debug panel, which is in yii2 out of the box. And we look there, what is slow, how many queries are in the database, whether it is possible to reduce, what can be optimized. Something is solved by eager loading of links, something by caching, there is already according to the situation. It is also possible that the server is shit.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question