Skip to content

Conversation

mruac
Copy link
Contributor

@mruac mruac commented Aug 11, 2025

PR implements a cache on the user handle to DID resolution for up to a week to prevent the resolution being performed each time the feed is generated. Could be permanent, but I don't like it sitting around in the cache permanently. Also added to user profiles (custom name, avatar and description) to the cache for up to the defaulted day.

In the future, I would like the bridge to resolve the user handle to its DID and redirect to itself with the DID as the user_id if a handle is provided (handles can be changed, DIDs cannot), and in turn automatically correct any currently subscribed feed urls that is using the user handle as the user_id parameter. This will require implementing a HTTP 301 redirect. Please see #4663 for a discussion on this.

Also added more semantics.

Copy link

Pull request artifacts

Bridge Context Status
Bluesky 1 untitled (current) ✔️
Bluesky 1 untitled (pr) ✔️

last change: Monday 2025-08-11 12:50:51

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