Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
perf(dashboard): cache dynamic routes 30s so prefetch pays off (#2554)
Maximilian Kaske523d0439f5b7
diff --git a/apps/dashboard/next.config.ts b/apps/dashboard/next.config.tsindex cef49b6ef..da03fd796 100644--- a/apps/dashboard/next.config.ts+++ b/apps/dashboard/next.config.ts@@ -9,6 +9,11 @@ const nextConfig: NextConfig = {experimental: {// barrel-optimize only when unaliased — the rewrite would bypass the nucleo aliasoptimizePackageImports: useNucleoIcons ? [] : ["@openstatus/icons"],+ // dashboard routes are dynamic (auth/cookies); default dynamic staleTime of 0+ // discards prefetched entries on navigation, so keep them 30s to make prefetch pay off+ staleTimes: {+ dynamic: 30,+ },},turbopack: useNucleoIcons? { resolveAlias: { "@openstatus/icons": "@openstatus/icons/nucleo" } }