Skip to main content
Version: 3.x

Using Resolver Cache

Learn how to improve your application's performance by caching Prismic content at the resolver level.

The PrismicCachedResolver is a powerful tool that helps you cache Prismic content at the resolver level. It automatically handles cache invalidation based on document references and supports different caching strategies.

Prerequisites​

Before implementing resolver caching, ensure you have:

Implementation Guide​

Cache Invalidation​

The cache is automatically invalidated when:

  • The referenced Prismic documents are updated
  • The cache TTL expires (default: 5000ms)

For more details about the cache configuration and API, see the API Reference.