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

Caching and when to Cache

Caching, everyone knows about it, everybody talks about it, but what is it? In its purest essence caching is all about serving your application as quickly as possible to the user. That's what we will talk in this recipe when and how to cache.

Getting ready

We will be working with the Zend Framework skeleton application again, so it would be wise to have that set up.

How to do it…

When developing an application, caching might not be something that immediately comes up in the design, and most probably this will come up when the application goes live and after a while you find your application responding slower than when you first put it live.

That is the perfect (well not perfect, as that would be during the design phase, obviously) ...

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