Next.js Discord

Discord Forum

Please help me with this very simple question

Unanswered
Asiatic Lion posted this in #help-forum
Open in Discord
Asiatic LionOP
My index page has some very large queries that, according to the build output for "/", are supposed to be static, so they should only be executed once during the build.

The page doesn't have force-static.

However, I'm seeing Vercel function timeouts in the logs. Isn't this page supposed to be static?

I added force-static, and I think it solved the problem, but I still don't understand this behavior.

Could you explain why this was happening?

Thank you!

6 Replies

Asiatic LionOP
πŸ˜’
Asiatic LionOP
πŸ˜’
πŸ˜’
:S
:S
:S