From: Junio C Hamano Date: Tue, 30 Jun 2009 20:38:21 GMT Subject: Re: [PATCHv8 5/7] gitweb: gravatar url cache Message-ID: <7vprcl78zm.fsf@alter.siamese.dyndns.org> In-Reply-To: <1246312854-3365-6-git-send-email-giuseppe.bilotta@gmail.com> Giuseppe Bilotta writes: > +# Rather than recomputing the url for an email multiple times, we cache it > +# after the first hit. This gives a visible benefit in views where the avatar > +# for the same email is used repeatedly (e.g. shortlog). > +# The cache is shared by all avatar engines (currently gravatar only), which > +# are free to use it as preferred. Since only one avatar engine is used for any > +# given page, there's no risk for cache conflicts. Is it "any given page", or "any given e-mail"?