[wp-trac] [WordPress Trac] #11334: Add caching to get_page_of_comment()

WordPress Trac noreply at wordpress.org
Thu May 30 08:56:19 UTC 2013


#11334: Add caching to get_page_of_comment()
-------------------------------------------------+-------------------------
 Reporter:  Viper007Bond                         |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  high                                 |   Milestone:  Future
Component:  Comments                             |  Release
 Severity:  major                                |     Version:  2.9
 Keywords:  has-patch needs-testing needs-       |  Resolution:
  refresh                                        |
-------------------------------------------------+-------------------------

Comment (by wmertens):

 I just applied this on a 3.5.1 installation; it made our database happy.
 We have a couple of threads with way too many comments and despite the
 caching plugin our db was still getting hammered; now everything is
 humming along.

 The patch didn't apply cleanly, I had to add it manually. I'll try to
 attach the patch here. If I can't manage that, it was simple to apply
 manually.

 I don't understand the custom comment types comment - the previous code
 doesn't seem to handle them either.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/11334#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list