WIP: initialize EGWeb content loaders
authorGalen Charlton <gmc@esilibrary.com>
Tue, 5 May 2015 22:15:39 +0000 (22:15 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 5 May 2015 22:15:39 +0000 (22:15 +0000)
commit8f7d49f0bd8e46e907316bb9b668c8358b4d1f81
tree50aa94bb4d8b7b348d2d785a367e99fb7726bb78
parentbc3f47ed390e7576a16fbccc7c0d413724ae5c3c
WIP: initialize EGWeb content loaders

This patch adds the ability for EGWeb to call
an initialization function for content loaders
during the child_init phase of Apache backend
startup.

In particular, portions of the R/O object cache
for EGCatLoader are now initialized when a backend
starts up; testing indicates that this can shave
a couple seconds off the time it takes for a
backend to render a bib details page the first time.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/examples/apache/eg_startup.in
Open-ILS/examples/apache_24/eg.conf.in
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm