HG-144: Caching for top contributors

@macbre can you take a look, please
I passed it to reduce the external dependencies for the model :)