Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

[livejournal] r20519: LJSUP-10362: Userheads are cached in CDN...

Committer: gariev
LJSUP-10362: Userheads are cached in CDN
U   trunk/cgi-bin/LJ/User.pm
Modified: trunk/cgi-bin/LJ/User.pm
===================================================================
--- trunk/cgi-bin/LJ/User.pm	2011-11-10 02:15:35 UTC (rev 20518)
+++ trunk/cgi-bin/LJ/User.pm	2011-11-10 04:14:44 UTC (rev 20519)
@@ -7610,7 +7610,7 @@
     ### populate userhead data
     if ($userhead !~ /^https?:\/\//) {
         my $imgroot = $opts->{'imgroot'} || $LJ::IMGPREFIX;
-        $userhead = $imgroot . '/' . $userhead . "?v=3";
+        $userhead = $imgroot . '/' . $userhead . "?v=$LJ::CURRENT_VERSION";
     }
 
     $userhead_h ||= $userhead_w;  # make square if only one dimension given

Tags: gariev, livejournal, pm
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments