Comment 3 for bug 1378278

Revision history for this message
Michi Henning (michihenning) wrote :

Showing something is better than showing nothing. But, please, do *not* issue two requests (one for artist only, and one for artist with an album). Instead, try one first and *only* if the first one fails, issue the second request. Otherwise, for artists where the service provides a stand-alone artist image as well as an album image, we'll needlessly end up with two thumbnails in the cache, where a single thumbnail would be enough.

Note that waiting for the first request to fail before issuing the second request is OK because that incurs a delay only while the cache is cold (and failure notices come back much quicker from the server than successful ones). Once the cache is warmed up, the delay for sending two requests will be unnoticeable.