Re: Re: Using Pear Cache

From: Date: Wed, 26 Dec 2001 10:23:54 +0000
Subject: Re: Re: Using Pear Cache
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-635@lists.php.net to get a copy of this message
Hi Manuel, > > Since the Pear Cache is working for other people I must have done > > something wrong. I would therfore very much appreaciate it if someone > > could have a look at the two attached examples. > > I don't know if that is the reason for your problem, but PEAR cache to > file class does not seem to lock cache files to prevent concurrent cache > updating. Well, I can't see that this might be the problem since the PEAR Cache is working for a lot of people. At the moment I guess it is me doing somehting wrong but I don't know what that might be. > You may want to look into this simpler cache class (it is just a single > class file, not a bunch of classes that you need to load) that does file > locking properly and it has been succesfully used in the PHP Classes > repository site, which is a very busy site, to cache the content of > pages with great efficiency. You may find a usage example in the actual > documentation HTML page. I might give it a try if I don't see any light at the end of the "Cache tunnel". Thanks for your help Manuel. Cheers, Andreas -- Andreas Otto <a-otto@web.de> Using PHP on Windows? www.php4win.de

« previous php.pear.general (#635) next »