Perhapse the answer you seek has been right under your nose? Check out the Everything Dev. Engine, aka the backend for everyone's favorite site ;-). Here's a Google link to the program's caching functions: *click*
-caedes
Comment on Re: Improving efficiency - repeated script hits at small interval