Just another Perl shrine | |
PerlMonks |
$r-dir_config and speedby jjhorner (Hermit) |
on Jun 13, 2000 at 20:06 UTC ( [id://17904]=perlquestion: print w/replies, xml ) | Need Help?? |
jjhorner has asked for the wisdom of the Perl Monks concerning the following question: I'm updating my Apache module (available in code section) and I'm wondering if the $r->dir_config call checks the config file each time, or if it stores all of the key value pairs in a hash. Since one of my values (DefaultLimit) will be in the httpd.conf file, and one of them (TimeLimit) will be user supplied in an .htaccess file, should I just call them both (if they exist) and store in temp variables, or should I just call them using the $r->dir_config each time they are needed? I know this is a mod_perl question and not specifically a perl question, but I still think it is worth looking into. For instance:
Or
Any ideas?
Back to
Seekers of Perl Wisdom
|
|