Skip to content

Use proper api endpoints #60

Description

@cpacia

The site should avoid making /ipns/ calls to the server. The return of these calls is not sanitized and just returns raw data.

For example profiles can be fetched by /ob/profile or images as /ob/avatar or /ob/header

Also, to make sure the web is as fast as possible you should use the usecache flag on all calls. The return is very unlikely to not be up to date and it will return faster. /ipns/ calls only cache for one minute and then make another DHT query.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions