[wp-trac] [WordPress Trac] #56135: WP_Term_Query cache never expiring with persistent object cache

WordPress Trac noreply at wordpress.org
Mon Jul 4 22:41:45 UTC 2022


#56135: WP_Term_Query cache never expiring with persistent object cache
--------------------------+------------------------------
 Reporter:  skithund      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Taxonomy      |     Version:  6.0
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by peterwilsoncc):

 In #4476 adding the ability to delete cache's by group is being discussed
 to address this scenario.

 It is taking a very long time to implement as not all persistent caches
 have the ability to delete by group/prefix.

 I think setting a TTL or `maxmemory` and an eviction policy is the best
 approach to this.

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


More information about the wp-trac mailing list