Theo's Typesafe CultTTC
Theo's Typesafe Cult15mo ago
107 replies
Mase

Next JS slow initial compile time

Hello! I was hoping someone could possibly give me some advice on what I should attempt, or what I should consider with an app that I am developing at work with Next.JS. I am currently running into an issue where the initial compile of my page takes like 10-12 seconds to compile and the user is left sitting there with no indicator that its compiling. I've read that this is common for next.js projects when you try hosting it yourself, but I thought I would ask you guys. Any tips on how to speed up compile times on pages? Or should I consider restarting and creating the project using something like Go?
Was this page helpful?