Skip to content

Commit

Permalink
docs: remove 'caching' section from data fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Sep 6, 2023
1 parent 88a6d0a commit fe29948
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions docs/1.getting-started/6.data-fetching.md
Expand Up @@ -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.
Expand Down

0 comments on commit fe29948

Please sign in to comment.