silverwolf-x's picture
download
raw
251 Bytes
function createCacheFn() {
return async () => {
'use cache'
throw new Error('kaputt!')
}
}
const cached = createCacheFn()
export default async function Page() {
return <p>A page with an anonymous cache function. {await cached()}</p>
}

Xet Storage Details

Size:
251 Bytes
·
Xet hash:
68b8e554e0e342873ddeef7694e24cd568e3661a32f5662f6887160a5d95ca65

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