Optimize data fetching with the new `cache` function in NextJs