perf: optimize tag fetching with single-trip combined batch and daemon caching #92
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/tag-fetch-optimization"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
notmuch count --batchinvocation inned.service.get_all_tags(include_unread=True).include_unreadquery parameter onGET /api/v1/tags, returningunread_countalongside totalcount.lazarus.tag.TagModel.refresh()to retrieve both total and unread counts in a single network round-trip when available, cutting remote Tailscale latency in half and eliminating secondary round-trips.