[wp-trac] [WordPress Trac] #59592: Store last changed value in key instead of using it as a salt for query caches

WordPress Trac noreply at wordpress.org
Mon Jul 21 00:04:47 UTC 2025


#59592: Store last changed value in key instead of using it as a salt for query
caches
--------------------------------------+---------------------------
 Reporter:  spacedmonkey              |       Owner:  spacedmonkey
     Type:  enhancement               |      Status:  assigned
 Priority:  normal                    |   Milestone:  6.9
Component:  Cache API                 |     Version:  6.1
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  performance
--------------------------------------+---------------------------

Comment (by peterwilsoncc):

 Names that have been suggested in the pull request:

 * `wp_cache_*_salted()`
 * `wp_cache_*_versioned()`
 * `wp_cache_*_hashed()`
 * `wp_cache_*_salted_data()`

 I've put them in order of my preference but am not too fussed as to
 whether it's salted or versioned. I could live with any of them if others
 have a strong preference.

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


More information about the wp-trac mailing list