Re: Pear installer cache

From: Date: Sun, 07 Jul 2002 16:15:15 +0000
Subject: Re: Pear installer cache
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-7533@lists.php.net to get a copy of this message
<chrisdicki@gmx.de> wrote : >> I have had a look at the pear installer cache. It seems to create a new >> directory in the tmp dir called /pear/cache. Will this directory contain > php >> serialized vars or xml formatted for xmlrpc ? > > It saves (serialized) the decoded xmlrpc data. This way you do not have > to decode the cache on every request ... Yes, it's what I was thinking. So, to summarize, you get xmlrpc data, then you decode it, then you serialize it, is that correct ? I understand the first two steps are necessary but I don't see why you need to serialize the data instead of just storing the xmlrpc data. I probably missed something ? If you store xmlrpc data instead of serialized php vars, other apps could use this cache, which could prove useful. It's easier to find xmlrpc decoder than php unserialiser these days. This wouldn't be a problem if the pear installer could speak xmlrpc. Bertrand Mansion Mamasam

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