3411fef1df
Now, when requesting a commit from the Repository model, the results are not cached. This means we're fetching the same commit by oid multiple times during the same request. To prevent us from doing this, we now cache results. Caching is done only based on object id (aka SHA). Given we cache on the Repository model, results are scoped to the associated project, eventhough the change of two repositories having the same oids for different commits is small.
5 lines
94 B
YAML
5 lines
94 B
YAML
---
|
|
title: Cache commits fetched from the repository
|
|
merge_request:
|
|
author:
|
|
type: performance
|