Skip to content

utils/archive: Cache calls to _origin_info function

This private function wraps a call to origin_get function from swh-search interface and is called for each browse page of the webapp having an origin context.

Caching its results enables to avoid sending too many requests to elasticsearch in production.

Fixes #4812 (closed).

Merge request reports