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

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 3 20:42:05 UTC 2010


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

 * cc: mrasnika (added)


Comment:

 Replying to [comment:5 Denis-de-Bernardy]:
 > 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.

 Yeah, but it is cache ;) Anyway, I see your point. For now better have
 that as a plugin to gain some customer feedback
 >
 > Closing...

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


More information about the wp-trac mailing list