silverwolf-x's picture
download
raw
384 Bytes
import { fetchCachedRandom, getCachedData } from '../data-fetching'
// Deliberately using the same cache keys as the page.
const CACHE_KEY = __dirname + '/__PAGE__'
export default async function Loading() {
await fetchCachedRandom(CACHE_KEY) // Mirrors `CachedFetchingComponent`
await getCachedData(CACHE_KEY) // Mirrors `CachedDataComponent`
return <main>loading...</main>
}

Xet Storage Details

Size:
384 Bytes
·
Xet hash:
6847d8d262849851347f36f9e5c9329ce8d46e10a02f0b0ce1cb79e2fc568707

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