Huge latency on page load (GET / 200 in 6728ms) for local app & api
Unanswered
Tonkinese posted this in #help-forum
TonkineseOP
I'm getting huge latencies when fetching data for my app and I'm not sure exactly why. Requests made to my local api outside of next take ~500ms, but inside next the "Waiting for server response" time for the api is ~4 seconds, and TTL is almost 7 seconds.
Other info: I'm using apollo provider as my data fetching library and I recently switched across from pages api to app router api.
Any ideas what could be causing this?
Other info: I'm using apollo provider as my data fetching library and I recently switched across from pages api to app router api.
Any ideas what could be causing this?