[wp-trac] [WordPress Trac] #52710: Taxonomy: Make it possible to bypass automatic caching of results in `get_terms()`

WordPress Trac noreply at wordpress.org
Sun Jan 23 23:30:13 UTC 2022


#52710: Taxonomy: Make it possible to bypass automatic caching of results in
`get_terms()`
----------------------------------------+------------------------------
 Reporter:  dlh                         |       Owner:  (none)
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Taxonomy                    |     Version:  2.3
 Severity:  normal                      |  Resolution:
 Keywords:  needs-unit-tests has-patch  |     Focuses:  performance
----------------------------------------+------------------------------

Comment (by spacedmonkey):

 If the argument for this ticket, that because terms get invalidated all
 the time, that WordPress should not both to cache? I am not sure I under
 the logic of that. For my blog for example, I don't update the site that
 much, so caches would be warned and used lots on post / page loads. We
 can't control how many times user update their site, but we can't try and
 cache the best we can. What value does not storing caches have? Not
 filling up an object cache?

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


More information about the wp-trac mailing list