Add a cache of origin visit types
The ES index is requested on each request related to an origin https://gitlab.softwareheritage.org/swh/devel/swh-web/-/blob/master/swh/web/utils/archive.py#L195-200
Is it possible to implement a cache system for this value?
The context is when aggressive crawlers crawl the pages of a big origin, in parallel of a lot of indexation requests (indexer lag recovery), the ES could easily starts to be less reactive on the legit search requests.