Skip to content

Cache markdown fields for commits in redis

For https://gitlab.com/gitlab-org/gitlab-ce/issues/52444 we disabled the fragment caching for commits in a list. This introduced a small performance regression when rendering those commits.

Instead of relying on the fragment cache, we should cache that rendered markdown in redis.

I suggest doing this by extending CacheMarkdownField.