[wp-trac] [WordPress Trac] #31618: Filter wp_cache_get return

WordPress Trac noreply at wordpress.org
Fri Mar 13 07:45:59 UTC 2015


#31618: Filter wp_cache_get return
-------------------------+------------------------------
 Reporter:  mattkeys     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Cache API    |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by jipmoors):

 I would be interested what kind of situation you are talking about.

 I cannot imagine it would be functionally sound to ignore data that will
 remain in the cache taking up space and potentially breaking
 database/cache synchronisation.

 The only thing I can imagine is that you want to have a key expire and in
 that case you should be using the expiration parameter.

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


More information about the wp-trac mailing list