Re: Function caching...

From: Date: Fri, 08 Dec 2000 22:18:19 +0000
Subject: Re: Function caching...
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-40615@lists.php.net to get a copy of this message
Ulf Wendel wrote: > Kris preferrs a slightly different code as in the example. He likes to > save the cached return values and the output to disk. This makes the > cache persistent between multiple invokations of a script. The API > should be very much like the session API where the user can override the > default handling (storage) methods. My current implementation uses a global variable to cache function calls inside one "lifespan" of a script. I will extend this to enable the storing of the cache in the Shared Memory and filesystem. -- <? print implode( "", array_reverse( preg_split( "//", "dlrow laer " . "eht ot emoclew" ) ) ); /* visit http://www.sebastian-bergmann.de/ */ ?>

« previous php.dev (#40615) next »