Commit 01afb52
authored
fix: Use
To prevent users from having stale registry data, we fetch using
`no-cache` which always should recheck the registry for new updates
instead of relying on the browser cache. If the content has not changed
the browser will re-use the existing data and we keep falling back to
the previous version in state.
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Ensure registry fetches bypass HTTP cache by calling fetch with {
cache: 'no-cache' } in safeFetch.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
2afb2a3. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->no-cache for fetching registry (#3760)1 parent d49e222 commit 01afb52
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
426 | | - | |
| 426 | + | |
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
| |||
0 commit comments