]> git.donarmstrong.com Git - debbugs.git/commit
Libravatar: Lazy-load LWP::UserAgent
authorNiels Thykier <niels@thykier.net>
Wed, 3 Aug 2016 21:12:13 +0000 (21:12 +0000)
committerNiels Thykier <niels@thykier.net>
Thu, 4 Aug 2016 18:57:27 +0000 (18:57 +0000)
commit6d58a53155cd78fd9ae2b8726da7dd9fc179ffbd
tree3597a3c5119d7520ac94167e0dd26abfd8af83bb
parent1f81df46999fc3699ce73aeba95af5095a5a413a
Libravatar: Lazy-load LWP::UserAgent

LWP::UserAgent costs about 0.05s to load, but we only need it when the
image is not already cached locally.  Given we cache results for an
hour, it is fairly likely to be cached on subsequent requests.

Signed-off-by: Niels Thykier <niels@thykier.net>
Debbugs/Libravatar.pm
cgi/libravatar.cgi