O'Reilly logo

Pro PHP MVC by Chris Pitt

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 5

images

Caching

Often, when dealing with large amounts of data, we run into performance bottlenecks. These can happen for any number of reasons, and can mostly be avoided by good caching. If you are wondering what I mean by caching, we’ll look at an example in a moment.

Goals

  • We should identify the need for using caching, in the first place. We will not be able to realize the full potential of caching unless we understand the problems that it solves.
  • We need to learn how to access Memcached servers, which we will use to store cached data. This requires us writing the classes to interact with a Memcached server.

Performance Bottlenecks

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