Answer the question
In order to leave comments, you need to log in
How to optimize website performance in yii?
Good day to all!
How to find and what to do to make the site load faster?
I am developing a site, and over time it became more and more, and the pages began to load for a long time.
How do you find how much it takes so long to load and how do you solve such issues?
Answer the question
In order to leave comments, you need to log in
There is an article on the official site, just google it:
www.yiiframework.com/doc/guide/1.1/en/topics.perfo...
Learn code profiling. For example, use xdebug or xhprof to collect metrics.
Use what HaruAtari recommended
+ to this
Suppress
session creation
Suppress database connection creation
'import' => array('application.components.*', и.т.д. )
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question