Page MenuHomePhabricator

[lib][native][web] Introduce FarcasterChannelPrefetchHandler
ClosedPublic

Authored by ashoat on Nov 20 2024, 6:47 AM.
Tags
None
Referenced Files
F4039301: D13982.diff
Mon, Feb 10, 1:43 PM
Unknown Object (File)
Thu, Feb 6, 7:50 PM
Unknown Object (File)
Thu, Feb 6, 7:46 PM
Unknown Object (File)
Thu, Feb 6, 7:17 PM
Unknown Object (File)
Thu, Feb 6, 7:16 PM
Unknown Object (File)
Thu, Feb 6, 7:15 PM
Unknown Object (File)
Thu, Feb 6, 3:53 AM
Unknown Object (File)
Thu, Feb 6, 3:52 AM
Subscribers

Details

Summary

This handler will make sure that we fetch all non-followed channel info in bulk, thereby reducing the total number of Neynar queries on app start.

Depends on D13981

Test Plan
  1. In combination with other diffs, tested that channel avatars still load on both web and native
  2. Tested on both native and web by logging each NeynarClient query and seeing which ones get triggered

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage