I have a nextjs project deployed which has too many requests to dynamic routes. I have a url of format /embed/[widgettype]/[widgetid]. The actual url is created (with uuids) when user creates a widget so I cannot know these urls in advance. Vercel is treating these as serverless functions and I'm hitting the limits. Also my edge requests are also hitting limits.
How do I solve this problem?