Angular Caching Problem – httpClient responds with same data
I have an Angular 18 Web Application which is deployed in Firebase and Netlify.
The problem is that when the app is online all the services don’t work properly, they respond with the same data every time.
Is an application with live football scores and it keeps showing the same result even if the score has changed.
When I’m on localhost it works perfectly fine, the data is correct and the request is made every time I refresh the page.
I’m almost sure that the App or the browser are caching the data somewhere but I can’t figure out how to solve it.
The problem is on both Firebase and Netlify but not locally.