O'Reilly logo

Mastering Yii by Charles R. Portwood II

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 12. Performance and Security

Out of the box, Yii2 is an both a performant and efficient PHP framework. It was designed to be as fast as possible while still providing a feature-rich toolbox to work with. There are many factors that determine the performance of our application that can negatively affect the performance of our application, such as long running queries and data generation. In this chapter, we'll cover several ways in which we can optimize and fine-tune Yii2 so that our applications remain performant. We'll also cover several important aspects of securing our code.

Caching

One of the easiest ways to improve the performance of our applications is to implement caching. By implementing caching within our application, we can reduce ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required