extinkt1
TTCTheo's Typesafe Cult
•Created by Mase on 10/23/2024 in #questions
Next JS slow initial compile time
Did you have NODE_ENV set to production in your .env file? I’m wondering if that would have worked as well. @Mase
108 replies
TTCTheo's Typesafe Cult
•Created by Mase on 10/23/2024 in #questions
Next JS slow initial compile time
Nah it really isn’t that clear tbh
108 replies
TTCTheo's Typesafe Cult
•Created by Mase on 10/23/2024 in #questions
Next JS slow initial compile time
:biglaugh:
108 replies
TTCTheo's Typesafe Cult
•Created by Mase on 10/23/2024 in #questions
Next JS slow initial compile time
at least we were all right in our assumptions
108 replies
TTCTheo's Typesafe Cult
•Created by Mase on 10/23/2024 in #questions
Next JS slow initial compile time
but also look into what in your data fetching / processing is taking so long. Something tells me you are fetching way more data than is actually needed. Maybe you need to add pagination or something
108 replies
TTCTheo's Typesafe Cult
•Created by Mase on 10/23/2024 in #questions
Next JS slow initial compile time
look into
<Suspense>
and loading.tsx
108 replies
TTCTheo's Typesafe Cult
•Created by Mase on 10/23/2024 in #questions
Next JS slow initial compile time
I self host with coolify for a website for my work just fine. It sounds to me like you have a problem with your server components fetching data without suspense
108 replies
TTCTheo's Typesafe Cult
•Created by Mase on 10/23/2024 in #questions
Next JS slow initial compile time
I’d expect that your work network does not allow outside traffic anyways
108 replies
TTCTheo's Typesafe Cult
•Created by Mase on 10/23/2024 in #questions
Next JS slow initial compile time
Nah you can configure coolify itself to only listen for local IPs
108 replies
TTCTheo's Typesafe Cult
•Created by Mase on 10/23/2024 in #questions
Next JS slow initial compile time
Check out Coolify for self hosting next
108 replies
TTCTheo's Typesafe Cult
•Created by Mase on 10/23/2024 in #questions
Next JS slow initial compile time
What package manager are you using?
It sounds like you are using ‘npm dev’ or ‘yarn dev’ or ‘pnpm dev’ when running on your server
It sounds like you are using ‘npm dev’ or ‘yarn dev’ or ‘pnpm dev’ when running on your server
108 replies
TTCTheo's Typesafe Cult
•Created by Mase on 10/23/2024 in #questions
Next JS slow initial compile time
You should not be having initial compile time on a production build
108 replies
TTCTheo's Typesafe Cult
•Created by Mase on 10/23/2024 in #questions
Next JS slow initial compile time
But are you using an actual production build? Or just using a dev build?
108 replies
TTCTheo's Typesafe Cult
•Created by Mase on 10/23/2024 in #questions
Next JS slow initial compile time
I’m convinced you aren’t using a production build, what are you hosting it with?
108 replies
TTCTheo's Typesafe Cult
•Created by gnarley_farley. on 9/26/2024 in #questions
How to setup api service for selling with nextjs t3?
So you're capping, got it. You don't need a "model" for generating API keys. Use NextAuth or Lucia Auth or clerk, set up a db to save your users, set up a server or use server less to generate API keys and save them in your user table.
There you go you are started.
If your app is going to be based around AI offerings then why not use AI to generate the example you need?
There you go you are started.
If your app is going to be based around AI offerings then why not use AI to generate the example you need?
13 replies
TTCTheo's Typesafe Cult
•Created by gnarley_farley. on 9/26/2024 in #questions
How to setup api service for selling with nextjs t3?
If you can rig it up quite easily then try it and come back when you have more specific questions
13 replies