Open jinspe opened 10 months ago
We also observe this exact behaviour with multiple flashes on load then it finally settles also on desktop
We are experiencing a similar issue. It also happens if you try to reload. This causes multiple crashes doing 'normal' usage.
experiencing same issue, would love to have some idea on how to avoid this behavior
chiming in here.. this is really frustrating, running MacOS with template v 2.30 and getting 3 loads with minimal app.tsx; I cannot reduce the codebase even to something that does less then 2 /GET "[...]trycloudflare.com/?embedded=1&hmac=[...]" requests in fast succession
wonder if there's some security header stuff going on, this is happening locally but also in Prod (deployed to Vercel serverless), causing us real perf issues, as every call queries our DB... 4 times in our case against /app
Wasn't Remix and server rendering supposed to make things faster? This base setup seems not a great experience for Shoppify merchants.
Seeing the same issue too, happy to help investigate this further though, can anyone from Shopify confirm if this is being worked on or accepted as a known issue?
Facing the same issue. Has anyone discovered a solution for this problem?
I'm also experiencing the same issue.
Any plans on solving this?
Hi @jinspe, thank you for reporting this and for everyone confirming it, we're looking into it and we'll let you know as soon as possible.
I'm also facing the same issue...
Experiencing the same issue here
@matteodepalo thank you for addressing the community. Do you have anything you can share with us at this time?
@mgill404 unfortunately not yet, but once we do me or one of my colleagues will write here.
Hey folks! Just to share a bit more context here, we consulted with the team and the 3 requests are currently expected to happen - one is the actual request, and the other 2 are preload requests made by App Bridge to make some components more responsive.
The team is currently looking into ways of improving this to reduce the hit on apps. We'll get back to you when we have more updates to share!
We are having the same issue, did someone found a workarround on this?
we are experiencing the same issue as well. any updates here?
Hi, our team is experiencing the same issue unfortunately. Any updates or workarounds?
plus one here, any update ?
Issue summary
The home page is fetched three times, even in production, making the app slower to load. This issue is particularly noticeable within the Shopify mobile app, where delays between fetches add up, resulting in a significantly longer loading time (over 10 seconds) compared to the expected less than 1-second load time. I have observed this behavior through screenshots of the requests for single loads.
@shopify/shopify-app-remix
version: 2.1.0 and 2.2.0Logs showing repeated reloading during app launch on Shopify mobile app: Take note of the duration between each step. In a single app launch, the entire loading process took 12 seconds!
Logs showing repeated reloading during app launch in a web browser.:
Here are the logs generated when cloning this repository and running
npm run dev
. After opening the app on the Shopify app, the issue of multiple page reloads is evident. It's worth noting that this behavior persists on desktop/browser as well, but the extended time between fetches exacerbates the problem, particularly affecting the mobile experience.Expected behavior
The home page should be fetched only once, resulting in a faster loading time within the Shopify mobile app.
Actual behavior
The home page is fetched three times, causing a significant delay in loading, especially on the Shopify mobile app.
Steps to reproduce the problem