[wp-trac] [WordPress Trac] #15304: New file-based persistent cache

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 3 12:54:08 UTC 2010


#15304: New file-based persistent cache
-------------------------+--------------------------------------------------
 Reporter:  mrasnika     |        Owner:                 
     Type:  enhancement  |       Status:  closed         
 Priority:  normal       |    Milestone:  Awaiting Review
Component:  Cache        |      Version:                 
 Severity:  normal       |   Resolution:  wontfix        
 Keywords:               |  
-------------------------+--------------------------------------------------
Changes (by Denis-de-Bernardy):

  * status:  new => closed
  * resolution:  => wontfix


Comment:

 If I recall correctly, the file-based object cache was dumped because some
 hosts (Dreamhost?) were complaining about excessive amounts of file writes
 due to it. If, for any reason, a plugin triggers regular writes on page
 loads, the suggested implementation leads us straight back to step 1.

 Also, the suggested implementation is not thread safe. If you've two
 concurrent page loads that the first setting A, the other setting B, the
 mutex makes it so that the cache will automatically contain stale data in
 A or B depending on which page suits down first. By contrast, memcached or
 apc would deal with that by storing A and B independently from the page
 load.

 Closing...

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


More information about the wp-trac mailing list