I have successfully deployed a NextJS (13.2.4) app to Vercel after testing it locally with great results. The issue I am facing is related to a simple fetch request from a component ('use client').
This request is directed towards a route within the /app directory, which in turn contains an API call to a third-party service.
While everything functions as expected on my local environment, the same cannot be said for Vercel. When I execute the fetch request on the deployed app, it initially retrieves the data properly. However, it seems to cache the response thereafter, failing to update with fresh data.
Although it appears to be refreshing the data and making the network call, the process is completed so quickly that no changes are reflected in the data (even though there should be).
Even after trying to include 'cache: "no-store"' in the fetch request, the problem persists.
If further details are required, I am more than willing to provide them.