silverwolf-x's picture
download
raw
293 Bytes
export function getRevalidateReason(params: {
isOnDemandRevalidate?: boolean
isStaticGeneration?: boolean
}): 'on-demand' | 'stale' | undefined {
if (params.isOnDemandRevalidate) {
return 'on-demand'
}
if (params.isStaticGeneration) {
return 'stale'
}
return undefined
}

Xet Storage Details

Size:
293 Bytes
·
Xet hash:
e0f2523f689125f019e8936d9e2bfa7bd55c79d3026c1fa0285198f4ff0bcd24

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.