Chapter 9. Performance Tuning
In this chapter, we will cover the following topics:
Following best practices
Speeding up session handling
Using cache dependencies and chains
Profiling an application with Yii
Leveraging HTTP caching
Combining and minimizing assets
Running Yii2 on HHVM
Yii is one of the fastest frameworks available. Nevertheless, when developing and deploying an application, it is good to have some extra performance for free, and to follow the best practices for the application itself. In this chapter, you will see how to configure Yii to gain extra performance. In addition, you will learn some best practices for developing an application that will run smoothly until you have very high loads.