Functions
after
API Reference for the after function.
cacheLife
Learn how to use the cacheLife function to set the cache expiration time for a cached function or component.
cacheTag
Learn how to use the cacheTag function to manage cache invalidation in your Next.js application.
connection
API Reference for the connection function.
cookies
API Reference for the cookies function.
draftMode
API Reference for the draftMode function.
fetch
API reference for the extended fetch function.
forbidden
API Reference for the forbidden function.
generateImageMetadata
Learn how to generate multiple images in a single Metadata API special file.
generateMetadata
Learn how to add Metadata to your Next.js application for improved search engine optimization (SEO) and web shareability.
generateSitemaps
Learn how to use the generateSiteMaps function to create multiple sitemaps for your application.
generateStaticParams
API reference for the generateStaticParams function.
generateViewport
API Reference for the generateViewport function.
headers
API reference for the headers function.
ImageResponse
API Reference for the ImageResponse constructor.
NextRequest
API Reference for NextRequest.
NextResponse
API Reference for NextResponse.
notFound
API Reference for the notFound function.
permanentRedirect
API Reference for the permanentRedirect function.
redirect
API Reference for the redirect function.
revalidatePath
API Reference for the revalidatePath function.
revalidateTag
API Reference for the revalidateTag function.
unauthorized
API Reference for the unauthorized function.
unstable_cache
API Reference for the unstable_cache function.
unstable_expirePath
API Reference for the unstable_expirePath function.
unstable_expireTag
API Reference for the unstable_expireTag function.
unstable_noStore
API Reference for the unstable_noStore function.
unstable_rethrow
API Reference for the unstable_rethrow function.
useParams
API Reference for the useParams hook.
usePathname
API Reference for the usePathname hook.
useReportWebVitals
API Reference for the useReportWebVitals function.
useRouter
API reference for the useRouter hook.
useSearchParams
API Reference for the useSearchParams hook.
useSelectedLayoutSegment
API Reference for the useSelectedLayoutSegment hook.
useSelectedLayoutSegments
API Reference for the useSelectedLayoutSegments hook.
userAgent
The userAgent helper extends the Web Request API with additional properties and methods to interact with the user agent object from the request.
Was this helpful?