Initial document cache implementation