Re: [need for advices] fastCaching
| From: | John Lim | Date: | Mon, 22 Jul 2002 17:47:38 +0000 |
| Subject: | Re: [need for advices] fastCaching | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-7869@lists.php.net to get a copy of this message | ||
PS: I agree that something faster than PEAR Cache is needed. I ended up
writing my own
after using PEAR Cache for a couple of months.
Big class libraries have a habit of getting over-designed after some time.
You're a breath of fresh air!
Regards, John
"John Lim" <heyjohnlim@yahoo.com> wrote in message
news:20020722173831.39000.qmail@pb1.pair.com...
> Hi Marty,
>
> Speed is not the only criteria :-)
>
> A quick review of the code shows no handling of corrupt cache files.
> I suggest writing the file length into the cache file and some signature
> bytes
> as a prefix/suffix to the cache data to ensure data integrity.
>
> Regards, John
>
> "Marty Fabien" <fabien.marty@free.fr> wrote in message
> news:1027321209.2177.9.camel@localhost.localdomain...
> > (Bertrand)
> > > Could send a link to the code and if you have any usage example, they
> would
> > > be welcome too.
> >
> > The code was attached with the first post. :-))
> >
> > But, it's not a problem :
> > http://www.esub2.com/pear/fastCache.php.txt
> >
> > There is a synopsis. But, the API is not really different than Cache
> > one. :-))
> >
> > Fabien
> >
>
>