in reply to Revision of a Configuration class
To answer your caching question, use variables in the Configuration class. Using IPC::Shareable won't actually save you memory, but loading the data into variables before mod_perl forks (during startup) will save memory. Don't use pnotes, just create an accessor that returns the cached data. Alternatively you could do this as a singleton class (see Class::Singleton).
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Revision of a Configuration class
by valdez (Monsignor) on Sep 05, 2002 at 21:51 UTC | |
by perrin (Chancellor) on Sep 05, 2002 at 21:59 UTC | |
by valdez (Monsignor) on Sep 05, 2002 at 22:25 UTC |