Hi,
I'm trying to use Firebase Performance Monitoring in order to measure the average response time of a server.
I need mor einformation about how cached responses will be accounted for.
I use okhttp for Android, with the firebase-performance plugin.
I implemented a local cache in okhttp. For simplicity's sake, imagine that I cache every response for 4 hours: the first request to any endpolint will hit the server once every 4 hours, and it will hit the cache all other times for the next 4 hours.
Say I make 2 requests to `GET /api/cars`:
- the first one hits the server and returns a result in 800ms
- the seconds one hits my local cache and returns a result in 10ms
How will firebase represent this in the network performance stats?
Will firebase say that the average response time for `GET /api/cars` is 405ms? Will firebase say that the average response time for `GET /api/cars` is 800ms?
All in all, is there a way for me to know that when the local cache is not hit, `GET /api/cars` takes 800ms?
Thanks in advance!