-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Explore how to Mitigate UI failures due to RPC issues #1110
Comments
relates to near/bos-web-engine#315 |
Hey @mpeterdev @pavelisnear, it seems like a component cache has already been implemented? near/bos-web-engine#387 How does this cache work when the RPC fetch for loading the corresponding component fails? |
Correct, we cache components after transpilation in IndexedDB and if a given component is in the cache we will not attempt to fetch it from RPC. This would only mitigate failures well if all the components are in the cache i.e. when users revisit the same dapp |
Unfortunately this won't be possible since any component with a blockID version (which will be all embedded components by default) can only be resolved by an archival node of which we are the only provider |
@mpeterdev That's great to hear. So this should be a reasonable enough mitigation of RPC failures (where there is a cache hit) such that this task can be closed for now.
|
Problem
How might we mitigate the perceived total failure of Decentralized Frontends that occurs when there are significant issues with a gateway's RPC provider?
Area to explore
The text was updated successfully, but these errors were encountered: