
14/07/2025
https://www.sanity.io/learn/course/controlling-cached-content-in-next-js/share/gimoAXhvY?utm_campaign=course_completed&utm_medium=social&utm_source=copy_link When to query the Sanity API or CDN is also situation dependent as well. You should be able to query the CDN most of the time. But in situations where requests are only made infrequently—or demand freshness—querying the API sparingly can still be useful.
Creating a high performance web application for fast loading depends on caching. Learn how to implement a caching strategy you can understand, debug and depend on.