[wp-trac] [WordPress Trac] #35430: Should the 'counts' cache group be persistent?

WordPress Trac noreply at wordpress.org
Fri Sep 30 02:47:49 UTC 2016


#35430: Should the 'counts' cache group be persistent?
------------------------------+--------------------------
 Reporter:  wjywbs            |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  4.7
Component:  Cache API         |     Version:  4.4
 Severity:  normal            |  Resolution:
 Keywords:  needs-unit-tests  |     Focuses:  performance
------------------------------+--------------------------
Changes (by jorbin):

 * keywords:   => needs-unit-tests


Comment:

 I would like to see some unit tests to support this change.  Here is a
 draft for the make post for when that is ready.

 ## Persistent count caching in 4.8

 The `counts` cache group has historically been excluded since [7986] fixed
 #6740. In the last 8 years, changes have made this no longer necessary.
 As such, `counts` is no longer a non-persistent group as of #XXXX. This
 should enable sites using a persistent cache to reduce the number of
 queries on certain page loads.

 If you are are using the `counts` cache group in your code or are running
 a site with a persistant cache, you are highly encouraged to test this
 change.

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


More information about the wp-trac mailing list