Performance Issue - Page Taking 6+ Seconds to Load (19KB)

Current Behavior

  • Dashboard page (/) consistently takes 6+ seconds to load
  • This specific page is static with only 19KB page size (per Next.js build log)
  • Issue occurs even with zero customer traffic (pre-launch app)
  • Problem persists regardless of user location
  • Verified through Site24x7 monitoring tool showing consistent 6-second load times across multiple geographic locations

Expected Behavior

  • A 19KB static page should load in under 1-2 seconds
  • Fast initial page load with proper CDN caching and edge network distribution
  • Performance should not be affected by lack of traffic

Project Information

  • Website URL: https://www.nammadoctor.net
  • Plan: Free Tier
  • Framework: Next.js
  • Affected Route: / (dashboard page - static)
  • Page Size: 19KB (initial load)
  • Traffic: Zero customer traffic (pre-launch)
  • Custom Configuration: None (no vercel.json)

Steps to Reproduce

  1. Navigate to https://www.nammadoctor.net
  2. Observe initial page load time for dashboard (consistently 6+ seconds)
  3. Verified using Site24x7 monitoring from multiple locations
  4. Issue persists across different browsers and devices
  5. Occurs even with no concurrent users

Troubleshooting Already Performed

  • Monitored site performance using Site24x7 tool
  • Confirmed issue is not location-specific
  • Verified the dashboard page is static (19KB)
  • Confirmed no traffic/scaling issues (pre-launch app)
  • No custom Vercel configurations that could cause issues

Questions

  1. Why is a 19KB static page taking 6+ seconds to load on the free tier?
  2. Is this related to cold starts or edge network performance?
  3. Are there CDN caching issues affecting the static dashboard page?
  4. What specific optimizations or plan upgrades would resolve this performance issue?

Additional Context

The app is in pre-launch phase with zero customer traffic, so this is not a scaling issue. Looking for a reliable hosting solution.

When I go to your public website, it actually takes a full 10 seconds to load for me

I don’t have access to your code to fully debug, but from the logs I can see you have requests going to /api/account on / with 100% failure rate and a duration of 10s

If you have access to Observability → Vercel Functions (depending on your account tier you may not) you should be able to see the same data

Is something in your code waiting on that endpoint to time out before rendering the page?

  • check middleware.ts/proxy.ts files
  • check top level app/layout.tsx
  • check app/page.tsx
  • check any server components that are inside page.tsx

Am very sorry to have made you debug. I didn’t realize that i was making a blocking call to server. I will fix the rootcause and test this further.
Sorry for bothering you on this.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.