Both find and findMany check this cache before requesting documents by ID from the Prismic repository. Initially we created the document cache to optimise performance on a single request, however there are obvious benefits to persisting this cache for the life of the ref.
Both
findandfindManycheck this cache before requesting documents by ID from the Prismic repository. Initially we created the document cache to optimise performance on a single request, however there are obvious benefits to persisting this cache for the life of the ref.