I have 30,000 products in my database, but only a few hundred of them have actual useful information.
I want to generate /product/[productId]
pages statically to make the loading faster.
Statically generating all 30,000 pages fails on Vercel because it takes too long.
Is there a way to generate the /product/[productId]
pages statically for few hundred productId
s and dynamically for the rest?