Authenticated avatar URLs being generated unnecessarily
I noticed in http://profiler.gitlap.com/20181214/021fee0f-a755-4f60-b800-e220250da8f0.html.gz, which is a profile for https://gitlab.com/gitlab-com/www-gitlab-com/merge_requests/16021/discussions.json
, that 18% of the time is spent generating authenticated URLs for the avatar:
I don't see these URLs being generated in the JSON. Are we generating these unnecessarily?
/cc: @smcgivern, @mbergeron