In this lesson, learn how to get complete control over cached data with the getCachedData
option on useAsyncData
and useFetch
. This allows you to cache data based on a callback function where you could cache it client side indefinitely, only refresh it after a certain expiration time, or really handle it however you’d like.
Links