@elaineleung
Posted
Hi Olalekan, I like your spinning dice animation! I'm viewing this on Firefox and I'm not able to load the next advice. This is a known issue that's most likely due to caching, so if you want users on Firefox to be able to use your app also, try adding a header object in the fetch method, like this:
fetch("https://api.adviceslip.com/advice", { cache: 'no-cache' })
If you have Firefox, you can test it out before and after. Once again, great work building this 🙂
Marked as helpful
@OlaOluwalekan
Posted
@elaineleung
Wow. thanks, Elaine! I don't know about this cache stuff. I'm actually new to API. I'll add it right away. Thanks once again. 👍