PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

Christoph Dorn's Blog: Gain insight into your cache interaction with FirePHP Companion

Note: This article was originally published at PHPDeveloper on 26 August 2010.
PHPDeveloper

Christoph Dorn has a new post about using his recently released FirePHP Companion to get a better perspective on how your application works with its cache (information like the location of the cache file).

I thought I would rework the example I included in my php|architect article. You will see how much easier it now is to accomplish the same, and with much less code, using FirePHP Companion instead of the existing FirePHP extension.

In his example he has a site with an RSS feed that's cached and compares the old way of doing things to the simpler, easier way to use the features the Companion offers to record the process the script takes to build the feed and pushes the results back out at the end of the script.

A screencast is included in the post to show you how his example PHP code and the plugin all fit together.