Re: Re: Config + Cache Lite

From: Date: Mon, 23 May 2005 17:03:40 +0000
Subject: Re: Re: Config + Cache Lite
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-37808@lists.php.net to get a copy of this message
On May 22, 2005, at 11:08 PM, Dan Rossi wrote:
On 23/05/2005, at 3:37 PM, Ryan King wrote:
On May 22, 2005, at 7:11 PM, Dan Rossi wrote:
Hi there I am looking at implementing my mini framework i use for intranet apps for building OO based websites. I use Config to load xml based config files however i feel this is not scalable how is it possible to use Cache_Lite to cache configs, and possible flexy templates etc .. let me know thanks.
Currently there is no caching capability built into Config. This would be a good feature addition for Config2 (which I'd like to start working on soon).
Right, with simplexml then ?? :)
If you use simplexml to create the object from a string, you could always cache the string (which presumably comes from a file). Of course, this will likely only be helpful if you're caching in memcache or on a RAM disk. I'm curious, is config-reading a bottleneck in your application? -ryan

« previous php.pear.dev (#37808) next »