use revision id instead of revision time when determining if doc is cached