[dev] [cvs] commit: framework/Cache Cache.php framework/Cache/Cache apc.php eaccelerator.php file.php memcache.php xcache.php zps4.php

Chuck Hagenbuch chuck at horde.org
Tue May 8 17:55:40 UTC 2007


Quoting Michael M Slusarz <slusarz at horde.org>:

> slusarz     2007-05-08 13:54:50 EDT
>
>   Modified files:
>     Cache                Cache.php
>     Cache/Cache          apc.php eaccelerator.php file.php
>                          memcache.php xcache.php zps4.php
>   Log:
>   No need to have separate output() functions for each driver.

This is true in general, but the file driver (at least) should be  
using fpassthru() or readfile() or something similar for output() -  
should be much more efficient than reading the file in to memory  
ourselves. I'm not sure why we weren't doing that before.

-chuck


More information about the dev mailing list