mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 15:15:19 +00:00
docs: remove 'caching' section from data fetching
This commit is contained in:
parent
88a6d0a499
commit
fe29948feb
@ -29,10 +29,6 @@ The [`useFetch`](/docs/api/composables/use-fetch) and [`useAsyncData`](/docs/api
|
||||
Use the [Nuxt DevTools](https://devtools.nuxtjs.org) to inspect this data in the payload tab.
|
||||
::
|
||||
|
||||
### Effective caching
|
||||
|
||||
[`useFetch`](/docs/api/composables/use-fetch) and [`useAsyncData`](/docs/api/composables/use-async-data) both use a key to cache API responses and further reduce API calls. We will detail later how to invalidate this cache.
|
||||
|
||||
### Suspense
|
||||
|
||||
Nuxt uses Vue’s `<Suspense>` component under the hood to prevent navigation before every async data is available to the view. The data fetching composables can help you leverage this feature and use what suits best on a per-calls basis.
|
||||
|
Loading…
Reference in New Issue
Block a user