Apollo客户端慢速响应速度
我尝试过的事情:
keyfields:false
要避免归一化fetchpolicy:“ no-cache”
pausimmmutableReSults:true
CanonizerEsults:false
打开所有这些,应允许阿波罗无需任何其他处理即可将对象直接转储到缓存中。有什么方法可以实现这一目标吗?看起来阿波罗正试图深入克隆这个巨大的物体。
The Apollo cache spends 1.2s parsing the result and putting it into the cache:
Things I've tried:
keyFields: false
to avoid normalisationfetchPolicy: "no-cache"
assumeImmutableResults: true
canonizeResults: false
Turning all this on should allow Apollo to dump the object directly into the cache without any further processing. Is there any way to achieve this? It looks like Apollo is trying to deep clone this huge object.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论