kawamataryo / sky-follower-bridge

Instantly find and follow the same users from your X(Twitter) follower on Bluesky.
https://chrome.google.com/webstore/detail/sky-follower-bridge/behhbpbpmailcnfbjagknjngnfdojpko
MIT License
445 stars 13 forks source link

Cache clients between requests #51

Closed mozzius closed 2 weeks ago

mozzius commented 2 weeks ago

Currently, resumeSession is called every time a request to the background serviceworker is made. This attempts to cache BskyClient instances between requests.

Not tested, please validate that this works!