Functions
Last updated April 23, 2026
[
after
API Reference for the after function.
](after/index.md)[
cacheLife
Learn how to use the cacheLife function to set the cache expiration time for a cached function or component.
](cacheLife/index.md)[
cacheTag
Learn how to use the cacheTag function to manage cache invalidation in your Next.js application.
](cacheTag/index.md)[
unstable_catchError
API Reference for the unstable_catchError function.
](catchError/index.md)[
connection
API Reference for the connection function.
](connection/index.md)[
cookies
API Reference for the cookies function.
](cookies/index.md)[
draftMode
API Reference for the draftMode function.
](draft-mode/index.md)[
fetch
API reference for the extended fetch function.
](fetch/index.md)[
forbidden
API Reference for the forbidden function.
](forbidden/index.md)[
generateImageMetadata
Learn how to generate multiple images in a single Metadata API special file.
](generate-image-metadata/index.md)[
generateMetadata
Learn how to add Metadata to your Next.js application for improved search engine optimization (SEO) and web shareability.
](generate-metadata/index.md)[
generateSitemaps
Learn how to use the generateSiteMaps function to create multiple sitemaps for your application.
](generate-sitemaps/index.md)[
generateStaticParams
API reference for the generateStaticParams function.
](generate-static-params/index.md)[
generateViewport
API Reference for the generateViewport function.
](generate-viewport/index.md)[
headers
API reference for the headers function.
](headers/index.md)[
ImageResponse
API Reference for the ImageResponse constructor.
](image-response/index.md)[
NextRequest
API Reference for NextRequest.
](next-request/index.md)[
NextResponse
API Reference for NextResponse.
](next-response/index.md)[
notFound
API Reference for the notFound function.
](not-found/index.md)[
permanentRedirect
API Reference for the permanentRedirect function.
](permanentRedirect/index.md)[
redirect
API Reference for the redirect function.
](redirect/index.md)[
refresh
API Reference for the refresh function.
](refresh/index.md)[
revalidatePath
API Reference for the revalidatePath function.
](revalidatePath/index.md)[
revalidateTag
API Reference for the revalidateTag function.
](revalidateTag/index.md)[
unauthorized
API Reference for the unauthorized function.
](unauthorized/index.md)[
unstable_cache
API Reference for the unstable_cache function.
](unstable_cache/index.md)[
unstable_noStore
API Reference for the unstable_noStore function.
](unstable_noStore/index.md)[
unstable_rethrow
API Reference for the unstable_rethrow function.
](unstable_rethrow/index.md)[
updateTag
API Reference for the updateTag function.
](updateTag/index.md)[
useLinkStatus
API Reference for the useLinkStatus hook.
](use-link-status/index.md)[
useParams
API Reference for the useParams hook.
](use-params/index.md)[
usePathname
API Reference for the usePathname hook.
](use-pathname/index.md)[
useReportWebVitals
API Reference for the useReportWebVitals function.
](use-report-web-vitals/index.md)[
useRouter
API reference for the useRouter hook.
](use-router/index.md)[
useSearchParams
API Reference for the useSearchParams hook.
](use-search-params/index.md)[
useSelectedLayoutSegment
API Reference for the useSelectedLayoutSegment hook.
](use-selected-layout-segment/index.md)[
useSelectedLayoutSegments
API Reference for the useSelectedLayoutSegments hook.
](use-selected-layout-segments/index.md)[
userAgent
The userAgent helper extends the Web Request API with additional properties and methods to interact with the user agent object from the request.
](userAgent/index.md)
Was this helpful?