# Slowness in loading Avatars on \`meta.discourse.org\`

**URL:** <https://meta.discourse.org/t/slowness-in-loading-avatars-on-meta-discourse-org/34698>\
**Category:** Bug\
**Created:** [Outubro 19, 2015, 11:20pm UTC](https://meta.discourse.org/t/slowness-in-loading-avatars-on-meta-discourse-org/34698 "2015-10-19T23:20:49Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)\
**Post date:** [Outubro 19, 2015, 11:20pm UTC](https://meta.discourse.org/t/slowness-in-loading-avatars-on-meta-discourse-org/34698/1 "2015-10-19T23:20:49Z")

</div>

You probably already know about this but I thought I would mention that during a quick test with [http://www.webpagetest.org/](http://www.webpagetest.org/)…

I can see there is a lot of time and requests being spent redirecting (302) from one CDN to another for the avatars.  
from: [https://global.discourse-cdn.com/meta/user\_avatar/](https://global.discourse-cdn.com/meta/user_avatar/)…  
to: [https://global.discourse-cdn.com/meta/optimized/](https://global.discourse-cdn.com/meta/optimized/)…

Based on looking at the test results here:  
[http://www.webpagetest.org/result/151019\_S0\_26cd86a4691772b6221b4dc433576e7a/](http://www.webpagetest.org/result/151019_S0_26cd86a4691772b6221b4dc433576e7a/)

It looks like this adds ~7 seconds to the load time for `meta.discourse.org` currently (30739ms / 4 connections).

A video:  
[http://www.webpagetest.org/video/view.php?id=151019\_S0\_26cd86a4691772b6221b4dc433576e7a.1.0](http://www.webpagetest.org/video/view.php?id=151019_S0_26cd86a4691772b6221b4dc433576e7a.1.0)

[http://www.webpagetest.org/result/151019\_H1\_085fc810046b2e8cdd14a7af1d6b020d/](http://www.webpagetest.org/result/151019_H1_085fc810046b2e8cdd14a7af1d6b020d/)

* * *

A side note - it would be nice if the initial render could take place without any avatars…  
… and then later load them, getting that initial render quicker would be nice.

Obviously this might look very different when there are no 302 redirects

---

_[View the full topic](https://meta.discourse.org/t/slowness-in-loading-avatars-on-meta-discourse-org/34698)._
