Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Zend on Caching:
Part 2
Oct 08, 2002 @ 12:32:20

And, while we're on the topic of Zend this morning, they have a new posting of a Code Gallery Spotlight this morning - covering improved caching in PHP.

This spotlight is an extension of their last piece (here), and this time around uses file locking and employs some better coding techniques than the last class we used. They give you a large class that will show you what they mean and how you can actually implement the file locking on your system to improve caching - locking a cached file so that nothing else is writing to it while you're accessing it.

This spotlight is a good extension of the previous posting, but this new one almost doesn't feel complete. Almost like they just throw the code at you with a little bit of explanation and call it a day. I would have also liked to see some numbers on how much this "file locking" can help with the caching, or possibly how much the class at the bottom would speed up my sites.

tagged:

Link:


Trending Topics: