Faris P• 2,810
@FarisPalayi
Posted
I think it might be because of browser caching (not completely sure). To disable it in Axios, disable it in the header like this
axios.get('https://api.adviceslip.com/advice', { headers: { "Cache-Control": "no-cache" } })
Have fun coding ✨
Marked as helpful
0