Buckets:
| // we want to bail out of ISR, but still leverage fetch caching | |
| export const dynamic = 'force-dynamic' | |
| export default async function Page() { | |
| const dataForceCache = await fetch( | |
| 'https://next-data-api-endpoint.vercel.app/api/random?b2', | |
| { | |
| cache: 'force-cache', | |
| next: { | |
| revalidate: 3, | |
| }, | |
| } | |
| ).then((res) => res.text()) | |
| return ( | |
| <> | |
| <p>/force-cache-revalidate</p> | |
| <p id="data-force-cache"> | |
| "cache: no-cache, revalidate: 3" {dataForceCache} | |
| </p> | |
| </> | |
| ) | |
| } | |
Xet Storage Details
- Size:
- 531 Bytes
- Xet hash:
- c4930a1a2c88832ba4f55eec1504deabec4c6f873e785d7374140caac62f52c6
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.