famedly / matrix-dart-sdk

Matrix SDK written in pure Dart.
GNU Affero General Public License v3.0
49 stars 31 forks source link

Cache well-known result in Client-Box #1865

Open krille-chan opened 2 weeks ago

krille-chan commented 2 weeks ago

Preflight Checklist

Describe your problem

Multiple consumer apps are caching the well-known result with it's own logic. We could provide some functionality of this here.

Describe your ideal solution

We should cache the result of a well-known request in the client-box and make it available in the Client object. We should also provide a method to update the cached value. We should not decide when to update the cache, this should be done by the app by calling this method.

Version

No response

Security requirements

No response

Additional Context

No response