How to debug remix latency

I've got a remix app deployed the standard way (link below), on a mysite.pages.dev domain. I've got the actual domain mysite.com with cloudflare NS, and a worker which forwards all mysite.com to mysite.pages.dev, the remix app. Sometimes requests are really quick, but sometimes it's over 800ms. Going in the logs, I see over 300ms between the "eventTimestamp" and the timestamp of the first log in my "loader". Is such a gap normal? How can I debug what's happening between the start of the "event" and reaching my loader? thanks https://developers.cloudflare.com/pages/framework-guides/deploy-a-remix-site/
Cloudflare Docs
Remix | Cloudflare Pages docs
Remix ↗ is a framework that is focused on fully utilizing the power of the web. Like Cloudflare Workers, it uses modern JavaScript APIs, and it places emphasis on web fundamentals such as meaningful HTTP status codes, caching and optimizing for both usability and performance.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server