Design comparison
Solution retrospective
Hello everyone!
First of all, mainly I use Firefox for web development instead of Chrome and for this particular challenge, I did encounter a weird problem regarding API fetching on Firefox.
Somehow on Firefox, I keep getting the same response on every request from the API. After hours of pulling hairs, I decided to test it on Chrome and somehow it does gives me different responses on every request.
On the API doc, it is stated that Advice is cached for 2 seconds. Any repeat-request within 2 seconds will return the same piece of advice
. But I did tried sending request using both browser every 5 seconds and I still got the same problem on Firefox.
Anyone here have any idea why this happens?
Thank you in advance!
Community feedback
- @abhijithmuthyalaPosted over 1 year ago
I can reproduce the issue, but if you keep the dev tools opened, the app somehow works as intended. Infact, when the dev tools is kept open, I got different responses even though I was clicking very fast. This is super weird indeed.
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord