[Tickets #10396] Re: Add caching to autoloader

bugs at horde.org bugs at horde.org
Fri Sep 16 15:46:13 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/10396
------------------------------------------------------------------------------
  Ticket             | 10396
  Updated By         | Jan Schneider <jan at horde.org>
  Summary            | Add caching to autoloader
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Jan Schneider <jan at horde.org> (2011-09-16 15:46) wrote:

One solution could be to make this a separate non-dependant package,  
and make the package class decorating the original default autoloader.  
Admins would have to explicitly install this package to enable  
autoloader caching, thus we won't need any configuration to disable  
it, and we can make it the admin's job to take care of cache cleaning  
if necessary. A small script could help with that.
In Horde, we would check if this package's class file exist, and load  
that, otherwise fall back to the default autoloader.
Does anybody see any issues with this approach?





More information about the bugs mailing list