Skip to content

Commit 5f22d57

Browse files
committed
docs: disable exports size caching
1 parent 92a45ac commit 5f22d57

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/docs/src/hooks/use-latest-exports-sizes.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ export function useLatestExportsSizes() {
2323
};
2424

2525
return Promise.any([
26-
fetch('https://unpkg.com/foxact@latest/sizes.json', { signal }).then(responseToJson),
26+
fetch('https://unpkg.com/foxact@latest/sizes.json', { signal, cache: 'no-store' }).then(responseToJson),
2727
// fetch('https://cdn.jsdelivr.net/npm/foxact@latest/sizes.json', { signal }).then(responseToJson),
2828
// fetch('https://fastly.jsdelivr.net/npm/foxact@latest/sizes.json', { signal }).then(responseToJson),
29-
fetch('https://esm.sh/foxact@latest/sizes.json', { signal }).then(responseToJson),
30-
fetch('https://cdn.skypack.dev/foxact@latest/sizes.json', { signal }).then(responseToJson)
29+
fetch('https://esm.sh/foxact@latest/sizes.json', { signal, cache: 'no-store' }).then(responseToJson),
30+
fetch('https://cdn.skypack.dev/foxact@latest/sizes.json', { signal, cache: 'no-store' }).then(responseToJson)
3131
]);
3232
}
3333
);

0 commit comments

Comments
 (0)