diff options
author | Stan Hu <stanhu@gmail.com> | 2018-12-19 15:18:20 -0800 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-12-19 15:34:29 -0800 |
commit | 52fdddbd2d1e89a6a41a59a41adf0820cc98c435 (patch) | |
tree | d55bb5d076fe1a0e23338186ccf6eabfcb26f040 /.gitlab | |
parent | 00096b52ced2962d237540c494f2ad6c3add70ef (diff) | |
download | gitlab-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