Re: [need for advices] fastCaching
| From: | fabien dot marty at free dot fr | Date: | Mon, 22 Jul 2002 18:47:07 +0000 |
| Subject: | Re: [need for advices] fastCaching | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-7875@lists.php.net to get a copy of this message | ||
> > With FileLocking on (default), it's very very difficult to have
> > corrupted cache files. But adding a test is possible. A md5 hash
> would
> > be perfect but we would have to do some benchs. Because adding only
> file
> > length has to be faster I think.
> I've had instances of corrupt cache on Digital Unix using NFS pretty
> often (mostly empty files), so this is important, though it could be
> optional.
> - Brent
With file locking on ??? I suppose File Locking is different on Digital Unix.
Maybe, a file size in the first line of cache and an optional md5 hash test. I
will make some benchs to evaluate the impact of the md5 test.
Fabien