gariev wrote in changelog

[ljcom] r11164: LJSUP-10362: Userheads are cached in CDN...

Committer: gariev
LJSUP-10362: Userheads are cached in CDN
U   trunk/cgi-bin/LJ/Hooks/S2Styles.pm
Modified: trunk/cgi-bin/LJ/Hooks/S2Styles.pm
===================================================================
--- trunk/cgi-bin/LJ/Hooks/S2Styles.pm	2011-11-10 01:38:18 UTC (rev 11163)
+++ trunk/cgi-bin/LJ/Hooks/S2Styles.pm	2011-11-10 04:14:59 UTC (rev 11164)
@@ -8,11 +8,11 @@
     $$str_ref .= expresslane_html_comment($u);
     my $journal = LJ::get_active_journal();
     if ($journal && $journal->is_person) {
-        $$str_ref .= qq{<link rel="shortcut icon" type="image/x-icon" href="$LJ::IMGPREFIX/userinfo.ico">\n};
+        $$str_ref .= qq{<link rel="shortcut icon" type="image/x-icon" href="$LJ::IMGPREFIX/userinfo.ico?v=$LJ::CURRENT_VERSION">\n};
         my ($userhead) = $journal->userhead;
         $userhead = $LJ::IMGPREFIX . "/" . $userhead 
             unless $userhead =~ m|^http://|;
-        $$str_ref .= qq{<link rel="icon" type="image/gif" href="$userhead">\n};
+        $$str_ref .= qq{<link rel="icon" type="image/gif" href="$userhead?v=$LJ::CURRENT_VERSION">\n};
     }
 });