Skip to content

Read the ENS cache from disk before the first lookup - #91

Merged
Ocnrb merged 1 commit into
mainfrom
fix/ens-store-load-first
Oct 6, 2026
Merged

Ocnrb merged 1 commit into
mainfrom
fix/ens-store-load-first

Conversation

@Ocnrb

@Ocnrb Ocnrb commented Oct 6, 2026

Copy link
Copy Markdown
Member
  • The startup resolved the account's own name and every DM peer's before the disk cache was loaded, so each start asked the network again for names it already had; name() and avatar() now wait for the one disk read
  • Measured at start, ENS lookups went from 17 to 0

- The startup resolved the account's own name and every DM peer's before the disk cache was loaded, so each start asked the network again for names it already had; name() and avatar() now wait for the one disk read

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@Ocnrb
Ocnrb merged commit 6dae5ec into main Oct 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant