My nextjs app is taking a long time to compile even sir small change is there any way to speed it up
My nextjs app is taking a long time to compile even sir small change is there any way to speed it up or it's my laptop problem
next dev --turbonext-on-pages build output are equivalent__worker.js manually and gzip them they don't seem to be bigger than 1MB so theoretically they won't exceed the limit.
myapp.com/the-users-name they will see a page that gets rendered based on the customisations applied. to do this in vercel i would use isr with revalidatePath(), since cf doesn't support it, do i just have to put export const runtime = 'edge' on the dynamic route and just have every request count towards the workers usage quota, correct?https://api.axiom.co/v1/datasets/$DATASET_NAME/ingest with a Bearer tokenanymorewhat happened?

next dev --turbo__worker.jsmyapp.com/the-users-namerevalidatePath()export const runtime = 'edge'https://api.axiom.co/v1/datasets/$DATASET_NAME/ingest{
"error": "SomeString"
"context1": "SomethingElse"
// ...
}src/lib/uptime.ts
export const areMonitorsDown = async () => {
const response = await fetch(
"your_awesome_monitoring_service_url",
{
method: "GET",
headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${process.env.API_KEY}`,
},
next: {
// Cache the response for 3 minutes
revalidate: 3 * 60,
},
}
);
if (response.status !== 200) {
console.error("Failed to fetch monitors", response);
return null;
}
const body = await response.json();
const monitors = body.data;
return monitors.some((monitor: any) => monitor.attributes.status === "down");
};