O'Reilly logo

Zend Framework 2 Cookbook by Josephus Callaars

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

Setting up a caching system

A good example on how to do it is always the best way to learn a new technique quickly. That is why we will show you how to implement a caching system on different parts of our application.

Getting ready

In this recipe we will show off a simple system that makes use of caching. We will also show off some benchmarks so that we can clearly see the differences between a system without caching and a system with caching. The code for this project can also be found with the book, which contain a couple of sample classes so that we can measure the performance a bit better. We will not discuss any of the sample classes (which all can be found in the /module/Application/src/Application directory), but we will refer to them in ...

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