It seems in all the confusion of release of their new products, Zend.com must have missed posting a new Code Gallery spotlight - but one of our faithful readers (Matt) caught it and posted it.
In their latest Code Gallery Spotlight, Zend takes a look at Caching Variables with PHP. Caching is good for several uses, including grabbing news headlines from a remote site, or listing categories for a online shopping cart. In their example, they give you the code for a class that will help you with caching certain variables, and an example usage so that you can get it working quickly.
Caching can be a great tool to use on your site, especially if you're employing something like our own PHPDeveloper.org RDF file to grab news headlines from. If you cached the results and held them for a few minutes more, not only would it speed up your page load, but you'd put less strain on your server and ours.




