data wont update because of chache
Answered
Magyar agár posted this in #help-forum
![Avatar](https://cdn.discordapp.com/embed/avatars/3.png)
Magyar agárOP
when i pres ctrl+f5 it updates , why? what can i do?
Answered by Ray
fetching data with fetch is cached by default.
you can disable it like this
you can disable it like this
fetch("", { cache: "no-store" })
4 Replies
![Avatar](https://cdn.discordapp.com/avatars/890486507872342027/cba9267c0173c6acfde7fa4ba0e70f94.webp?size=256)
Arinji
show us the code please
![Avatar](https://cdn.discordapp.com/embed/avatars/3.png)
Magyar agárOP
![Avatar](https://cdn.discordapp.com/avatars/743561772069421169/3c5d689eee4459a24fc420063411c016.webp?size=256)
Ray
fetching data with fetch is cached by default.
you can disable it like this
you can disable it like this
fetch("", { cache: "no-store" })
Answer
![Avatar](https://cdn.discordapp.com/embed/avatars/3.png)
Magyar agárOP
thanks man , it resolved my problem