Directives
The following directives are available:
use cache
Learn how to use the use cache directive to cache data in your Next.js application.
use cache: private
Learn how to use the `"use cache: private"` directive to enable runtime prefetching of personalized content in your Next.js application.
use cache: remote
Learn how to use the `"use cache: remote"` directive to enable caching in dynamic contexts in your Next.js application.
use client
Learn how to use the use client directive to render a component on the client.
use server
Learn how to use the use server directive to execute code on the server.
Was this helpful?