Empower growth and innovation with the latest Mobile App insights

Why does an app's home screen keep spinning in a tunnel and recover after leaving the subway—cache miss or timeout setting?

Oct 24, 2026 Read: 57

Conclusion: When users enter a tunnel and the app home screen keeps spinning, then recovers after leaving the subway, it is usually not simply 'no network,' and it is not necessarily a missing offline cache. The real issue is that on weak-network paths, four things are not aligned: first-screen shell, data cache, timeout and retry, and failure fallback. Based on the common 2026 project delivery standard, the order of judgment is: first see whether the first screen can draw a skeleton without relying on an API; then see how long the API timeout is and whether there is a tappable retry entry after failure; finally judge whether the cache hits. If these steps are not sorted out, adding only an offline package may still leave users looking at a spinner.

Why 'it gets better after leaving the subway' cannot be blamed only on signal

Network in the subway is not a binary value of 'disconnected' or 'connected'; it can be full signal bars but requests cannot go out, a sudden drop when entering a tunnel, and repeated switching between 4G and Wi-Fi. In this segment, the app fears not only request failure but also requests being sent and then left unmanaged—neither success nor failure, with the UI stuck in loading. After the user leaves the station and the network recovers, the request returns, so it looks like 'it fixed itself.'

What makes users feel they are looking at a blank screen is usually that first-screen rendering depends entirely on the API response. If the home page, list page, and personal center all need to wait for the API before showing content, then on a weak network the whole interface is handed over to network quality as a gamble. There are four common symptoms:

  • First screen strongly depends on the API: if the API does not return, there is nothing to draw on the screen
  • The timeout is set too long; the typical range is 20 to 30 seconds before failure is judged, by which time users already think it is frozen
  • After failure, only a toast is shown, with no tappable retry entry, so users can only kill the process and reopen
  • Local cache is missing or has no version number: viewed content cannot be retrieved offline, or it is retrieved with old fields

If any one of these four is true, the user's description may be the same sentence: 'It spins when I enter the tunnel.'

The four layers of weak-network accounting: shell, data, timing, fallback

Weak-network experience is a chain of dependencies; if any layer is missing, it pushes the problem to the next layer. Checking by four layers—shell, data, timing, fallback—is easier to turn into concrete changes than saying vaguely 'do some weak-network optimization.'

  1. Shell layer: first-screen skeleton, local images and fonts, cached static configuration. The criterion is that the page structure can be drawn without relying on the API, so users know the app is alive and loading.
  2. Data layer: local cache for lists and details, expiration time, version number. It should show the previous content on cold start and mark the update time.
  3. Timing layer: connection timeout, read timeout, retry count, and backoff. The experience range is 5 to 10 seconds for connection and 10 to 15 seconds for read, with 1 to 2 retries and backoff, avoiding concurrent retries at the moment of failure.
  4. Fallback layer: empty state, error state, retry button, offline banner. Every failure path should be understandable and actionable for users, not just announced.

The four layers must be accepted together: shell only leads to 'skeleton but no content'; data only leads to 'content but the whole page is grayed out'; cache also needs a version number, so when API fields change it can be identified as invalid. Otherwise users see dirty data, which is harder to explain than a blank page.

How full offline packages, key-page cache, and timeout-plus-fallback-only compare

Clients often hope to 'just build an offline package and solve it once and for all,' but an offline package is not worthwhile for every app. In 2026 projects, it is more common to tier by page value rather than apply one approach across the whole site. Below is a checkable comparison by approach, cost, cycle, and applicability. Cycles are experience ranges and are affected by page count and API complexity.

  • Approach A: full offline package: major page resources and data are packaged locally. Cost is relatively high; the install package commonly grows by several MB to more than ten MB, and the cycle is often in the range of several weeks; suitable for sync tools and offline learning tools; the risk is complex data freshness and update strategy, and if versioning is not designed well, the whole cache must be cleared and rebuilt.
  • Approach B: key-page cache plus skeleton screen: cache and skeleton only for the home page, list, and details. Cost is medium; the cycle is often one to three weeks depending on page count; suitable for most content and e-commerce browsing apps, with relatively stable cost-effectiveness.
  • Approach C: timeout and failure fallback only: do not touch cache; shorten timeout, write clear error states, and add retry buttons. Cost is relatively low, commonly a few days to one week; suitable for urgent launches, or scenarios where data is strongly real-time and old data is not appropriate.

The choice question can be simple: when users are offline, do they more want to see 'the previous content' or 'a clear failure message with a retry option'? The answer decides whether to invest in cache, rather than first asking whether there is budget for an offline package.

At delivery: which layer to change first when budget is tight and the cycle is full

A common project situation is: limited budget, a fully scheduled release cycle, assets still with operations, and the client hoping to 'get weak-network experience right in one go.' According to enterprise project delivery habits, such custom delivery teams usually first change only the timing layer and fallback layer—shortening the timeout from very long to around 10 seconds, adding empty states and retry buttons to every list, and then choosing one or two high-traffic pages for cache. The cost is incomplete first-round coverage, requiring a second round; but if you promise full offline from the start, a common rework point is that cache versioning was not designed, so when an API field changes the whole cache must be cleared and rebuilt, which actually lengthens the cycle. This approach is in the typical range for small and medium projects in 2026; not every project can do everything at once.

What counts as acceptable: acceptance criteria and common pitfalls

Weak-network experience can be accepted; do not stop at 'it feels optimized.' It is recommended to test against the following items; if one is not met, it is not done.

  • Within 3 seconds of offline cold start, an understandable message or skeleton appears, rather than endless spinning
  • After network recovery, there is a clear refresh action, automatic or via button, but it must be visible
  • Cached content can show 'updated at a certain time,' so users know the data is old
  • Tested in real scenarios: elevators, subways, underground garages, not only with throttling in a simulator

Counterexamples are also concentrated: after a toast says 'network error,' the screen stays blank; the retry button has no debounce, so repeated taps trigger multiple concurrent requests; cache expires only by time and does not check version, so old fields are shown after API changes. These practices can all be marked 'handled' on an acceptance sheet, but the user-side experience has not changed.

Applicable scenarios and boundaries

Suitable for cache and skeleton are pages where users can accept 'slightly old but usable' data: content browsing, order list viewing, course and material reading, form draft recovery. When offline, showing previous content on these pages is more useful than a blank page.

Not suitable for copying cache are pages with strong real-time requirements: flash-sale pages where inventory and price change, navigation and ride-hailing that depend on real-time location, payment result pages, and transaction history. Showing old data on these pages may mislead users; the right approach is to make timeout, retry, and status copy solid, and prefer not to show old content. Another boundary is: for internal tools or apps deployed on a LAN, weak-network strategy must be re-evaluated according to the real network environment; public-network solutions cannot be copied directly.

Common questions

When offline, will showing previous content first make users think the data has not changed?

It is possible, so the cache page should mark the update time and automatically refresh after network recovery; fields such as amount, inventory, and order status should preferably not be cached, and only list structure and titles should be cached.

If the timeout is set short, will requests that could have succeeded be judged as failures?

That is possible, so connection timeout and read timeout should be set separately: read timeout should be based on the real latency distribution of the API, with a typical range of 10 to 15 seconds; only APIs that are clearly slower should be relaxed separately.

Does adding only a 'network error, please retry' popup count as handling weak networks?

Not completely. The popup only solves notification, not first-screen rendering or operability; users still have to tap repeatedly. At minimum, it should be paired with a tappable retry entry and a local skeleton.

Users complain 'it shows a blank screen on open'—how do we distinguish weak network from slow startup?

First look at cold-start duration and first-screen API duration: if several seconds have passed before the first-screen API returns, it is likely that the startup path and first-screen dependencies are too heavy, with little relation to the network.


If the app is already live and user feedback is concentrated on 'spinning when entering a tunnel, recovering after leaving the station, blank screen,' it is recommended to spend one or two days first pulling up first-screen API duration, timeout settings, and screenshots of failure states, then decide whether to invest in cache. Strongly real-time pages should not force a cache solution; conversely, if content pages do not even have a skeleton screen, adding the shell layer often takes effect faster than building an offline package. The above criteria are organized from common 2026 project delivery experience; for any single project, still verify against API latency distribution and users' actual network environment.

Interested in this topic?
10-year tech team — reference proposal within 24 hours
Obtain Proposal
Are you ready?
Then reach out to us!
+86-13370032918
Discover more services, feel free to contact us anytime.
Please fill in your requirements
What services would you like us to provide for you?
Your Budget
ct.
Our WeChat
Professional technical solutions
Phone
+86-13370032918 (Manager Jin)
The phone is busy or unavailable; feel free to add me on WeChat.
E-mail
349077570@qq.com
Submitted successfully
Thank you for your trust. We will contact you soon!
Recommended projects for you