Skip Menu |

This queue is for tickets about the CGI-Application-Plugin-Config-Perl CPAN distribution.

Report information
The Basics
Id: 60049
Status: resolved
Priority: 0/
Queue: CGI-Application-Plugin-Config-Perl

People
Owner: MARKSTOS [...] cpan.org
Requestors: MARKSTOS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 1.40
Fixed in: (no value)



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
This was implemented.