5.7.75. Bugzilla::Template::PreloadProvider¶
5.7.75.1. NAME¶
Bugzilla::Template::PreloadProvider - Better performance under mod_perl.
5.7.75.2. SYNOPSIS¶
Bugzilla::Template::PreloadProvider->new($config);
5.7.75.3. DESCRIPTION¶
The template provider is loaded in each worker, so each worker ends up stat’ing the same files. Eventually each worker has loaded every template, only to repeat this again. There are really not that many templates.
With this and the .htaccess thing, a running bugzilla only runs stat() about once per request.