Page MenuHomePhabricator

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

Authored by ashoat on Nov 20 2024, 6:47 AM.
Tags
None
Referenced Files
F3508732: D13982.id.diff
Fri, Dec 20, 11:38 PM
F3507562: D13982.id45909.diff
Fri, Dec 20, 9:17 PM
Unknown Object (File)
Sun, Dec 15, 11:12 AM
Unknown Object (File)
Mon, Dec 9, 10:29 PM
Unknown Object (File)
Thu, Dec 5, 8:43 PM
Unknown Object (File)
Wed, Dec 4, 3:35 PM
Unknown Object (File)
Wed, Dec 4, 3:21 PM
Unknown Object (File)
Wed, Dec 4, 10:47 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
Lint Not Applicable
Unit
Tests Not Applicable