If we're already keeping track of when we last read a directory/file, wouldn't it be easiest to make the comparison know about the tolerance? i.e. use something equivalent to
if modtime + tolerance > cachetime reparse endif Then when the file/directory is older than the tolerance full caching would kick in? --judd