Skip to content

[Bug] Modify caching strategy to better utilize cache space and distribution of resources. #274

@csuwildcat

Description

@csuwildcat

Describe the bug
The current caching strategy effectively renders caching unavailable to the vast majority of DIDs, as it doesn't seem to account for frecency (frequency/recency) of access, activity, or other metrics that substantiate why a DID should be cached over another.

To Reproduce:

  1. Try to build an app and not get hit with 10s+ resolutions virtually every time
  2. Fail at doing Step 1

Expected behavior:
Step 1 should be the common case.

Supporting Material
I built an app and this the behavior.

Environment (please complete the following information):

  • Literally everywhere you can send an HTTP request

Additional context
Not really, just want some caching.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions