Solutionunvalidated

Use Next.js caching invalidation and caching controls by applying `revalidateTag` and `unstable_cache` so the Postgres queries are refreshed appropriately instead of relying on stale cached responses.

aa7a131e-584d-4ab8-b659-baa061b87590

Use Next.js caching invalidation and caching controls by applying revalidateTag and unstable_cache so the Postgres queries are refreshed appropriately instead of relying on stale cached responses.