vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r17467: LJSUP-7010: optimize comments loading

Committer: vsukhanov
LJSUP-7010: optimize comments loading
U   trunk/cgi-bin/LJ/S2/EntryPage.pm
U   trunk/htdocs/talkread.bml
Modified: trunk/cgi-bin/LJ/S2/EntryPage.pm
===================================================================
--- trunk/cgi-bin/LJ/S2/EntryPage.pm	2010-09-29 08:51:54 UTC (rev 17466)
+++ trunk/cgi-bin/LJ/S2/EntryPage.pm	2010-09-29 10:14:02 UTC (rev 17467)
@@ -93,8 +93,9 @@
         'up' => LJ::load_user($s2entry->{'poster'}->{'username'}),
         'viewall' => $viewall,
         'expand_all' => $opts->{expand_all},
+        'init_comobj' => 0,
     };
-    
+
     ## Expand all comments on page
     unless ($LJ::DISABLED{allow_expand_all_comments}){
         $copts->{expand_all} = 1 if $get->{expand} eq 'all';

Modified: trunk/htdocs/talkread.bml
===================================================================
--- trunk/htdocs/talkread.bml	2010-09-29 08:51:54 UTC (rev 17466)
+++ trunk/htdocs/talkread.bml	2010-09-29 10:14:02 UTC (rev 17467)
@@ -459,6 +459,7 @@
      'userref' => \%user,
      'up' => $up,
      'viewall' => $viewall,
+     'init_comobj' => 0,
  };
 
  ## Expand all comments on page

Tags: bml, livejournal, pm, vadvs
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