GioJSdocs
Get StartedReleasesGitHub ↗
API Reference

Functions

Server-side functions and page exports.

getServerSideProps(ctx)

Async data loader. Receives a context with params, query, and locale, and returns props or a redirect.

export const revalidate

A number (seconds), or false to cache indefinitely. Controls the ISR cache TTL for the page.