Subject: | Allow for a package-based cache instead of object-based cache. |
Currently, using this plugin will still result in the config file being
re-read on every request, because it uses an object-based cache.
It would improve performance in persistent environments if there was an
option to only read the config file once at server start-up time, sharing
the config details in a package-based cache instead.
The API might look like this:
__PACKAGE__->cfg_file('my_config_file.pl');
The ::TT plugin as well as some other CGI::Application plugins use this
approach.
Mark