Context
src/app/properties/[id]/page.tsx exports generateStaticParams returning an empty array, so no property detail pages are statically pre-rendered despite ISR revalidate = 60.
Problem
First hit on each detail page pays full SSR cost; cold-start latency hurts shared links (social/SEO).
Proposed approach
Return top-N IDs from the data source (API or mock) at build, keep ISR for the rest, document dynamic params behavior; or remove empty function if fully dynamic.
Acceptance criteria
generateStaticParams returns real IDs or is removed intentionally
- Build pre-renders expected count of detail pages
- ISR still revalidates
Context
src/app/properties/[id]/page.tsxexportsgenerateStaticParamsreturning an empty array, so no property detail pages are statically pre-rendered despite ISRrevalidate = 60.Problem
First hit on each detail page pays full SSR cost; cold-start latency hurts shared links (social/SEO).
Proposed approach
Return top-N IDs from the data source (API or mock) at build, keep ISR for the rest, document dynamic params behavior; or remove empty function if fully dynamic.
Acceptance criteria
generateStaticParamsreturns real IDs or is removed intentionally