[dev] Re: [cvs] commit: horde/config conf.xml framework/Horde/Horde Registry.php

Jan Schneider jan at horde.org
Thu Mar 24 14:44:10 PST 2005


Zitat von Michael M Slusarz <slusarz at bigworm.curecanti.org>:

>>> Ah, something I forgot to ask. Shouldn't it be sufficient to check the
>>> registry.php mtime once per request to eliminate the disadvantage of
>>> not being able to change the registry at runtime?
>>
>> This could be the next step.  Although I thought doing time requests on
>> files is a horrendously slow operation that would make negligible gains
>> achieved by skipping loading the file.  Then again, it probably is
>> worth it.   Having to do it on config files, though, starts adding back
>> to the overhead quite a bit...
>
> Follow-up: What about 3 config options for $conf['registry_cache']:
> None, Yes, and Yes with checking of mtimes?  This might be getting to
> cutesy though - maybe it would be better to just pick a method and
> stick with it instead.

Yeah, I think we would let admins finetune this to death otherwise. I 
think it would be just too confusing if the admins change something in 
the configuration/registry, but the change only applies to some users, 
not to all.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/


More information about the dev mailing list