[wp-trac] [WordPress Trac] #18356: get_bookmarks() indefinitely caches randomly ordered results

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 12 01:11:21 UTC 2011


#18356: get_bookmarks() indefinitely caches randomly ordered results
-------------------------------------+------------------------------
 Reporter:  prettyboymp              |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  General                  |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+------------------------------

Comment (by westi):

 Replying to [comment:6 prettyboymp]:
 > Replying to [comment:4 westi]:
 > > I'm not sure why you are re-implementing the expiration functionality
 that is already built into the caching system here.
 > >
 > > If we need to use a different cache bucket and add expiration for RAND
 requests lets do that but don't implement a second level of expiration
 when we have one already.
 >
 > The problem with creating a new cache bucket is that you can't purge it
 automatically after modifying the bookmarks.

 Yes, but if it has a shortish expiration which is what you are suggesting
 here to deal with the RAND issue then that doesn't really matter.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18356#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list