[wp-trac] [WordPress Trac] #37398: Decrease the comment number before pagination to 20

WordPress Trac noreply at wordpress.org
Fri Jun 21 01:11:51 UTC 2019


#37398: Decrease the comment number before pagination to 20
--------------------------+--------------------------
 Reporter:  lukecavanagh  |       Owner:  (none)
     Type:  enhancement   |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Comments      |     Version:
 Severity:  normal        |  Resolution:  wontfix
 Keywords:  has-patch     |     Focuses:  performance
--------------------------+--------------------------
Changes (by earnjam):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 Right now, pagination is not on by default. Changing this number wouldn't
 really have any effect on new installations because they would have to
 enable it first.

 There might be a minor performance bump on loading posts that have more
 than 20 comments who have also enabled pagination, but most of the
 discussion has actually focused on going the other direction with the per-
 page number while enabling pagination by default. See #34389.

 As a quick test, I did some load testing of a basic post with 20 comments
 vs with 50 comments. There was no real observable difference between the
 two.

 I'm going to close this as `wontfix` as I don't think it's would provide
 enough of a performance boost to justify a change.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/37398#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list