Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.6

Request #11227 php_mode variant of Container_file
Submitted: 2007-06-05 07:56 UTC
From: didi0dmc Assigned:
Status: Open Package: Cache (version 1.5.5RC4)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 42 - 19 = ?

 
 [2007-06-05 07:56 UTC] didi0dmc (Dieter Rothacker)
Description: ------------ We may be able to get improved read performance of cache files (on the possible expense of slower writes), if we add another "mode" of operation to Container/file.php: (some pseudo code:) Instead of doing $cachedata = $this->decode(fread($fh, filesize($file))); the read could be implemented as: $cachedata = include($file); The save method would accordingly use something like: $cachedata = `var_export(func_get_arg(0), true)`; Obviously objects in the input data would have to be serialized first, this is probably the only real drawback.

Comments