Main bundle on a new TanStack Start project takes ~20-30s to load #5105
-
Hey y'all, I used the CLI to generate a new Start project with Tailwind, Query and ShadCN. Then, I followed the Hosting guide to deploy it to Railway. When I open my hosted application, the main bundle takes an incredibly large amount of time to load. The project is public and here's a link to the source code. I have made some changes on top of the generated application but I don't think they're the ones causing the issue as everything seems fine once the initial bundle has loaded. Would appreciate any pointers on how to resolve this as I was looking forward to using Start for this project! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I was able to reproduce this on a barebones app generated with the CLI. The only change being Edit: Minimal reproduction hosted here and the code can be found here. Screenshot 👇 ![]() |
Beta Was this translation helpful? Give feedback.
cannot reproduce this when opening the page. might be a CDN routing issue?