summaryrefslogtreecommitdiff
path: root/.gitlab
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-12-19 15:18:20 -0800
committerStan Hu <stanhu@gmail.com>2018-12-19 15:34:29 -0800
commit52fdddbd2d1e89a6a41a59a41adf0820cc98c435 (patch)
treed55bb5d076fe1a0e23338186ccf6eabfcb26f040 /.gitlab
parent00096b52ced2962d237540c494f2ad6c3add70ef (diff)
downloadgitlab-ce-52fdddbd2d1e89a6a41a59a41adf0820cc98c435.tar.gz
Cache avatar URLs and paths within a request
In a merge request with many discussions, the avatar URL can be called thousands of times, inflicting a significant performance penalty especially when avatars are stored in object storage. To mitigate this problem, we can just cache the generated path any time it is requested. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/55355
Diffstat (limited to '.gitlab')
0 files changed, 0 insertions, 0 deletions