ePages 6.11.0 - DE_EPAGES/Presentation/Hooks/AppServerStartup.pm

Package DE_EPAGES::Presentation::Hooks::AppServerStartup

Adds actions on startup of the application server

Functions

OnAppServerStartup

OnAppServerStartup

Loads all perl packages of classes into perl. This slows down the startup of the application server by ~ 15 seconds per process, but accelerates the first request by ~ 3 seconds per application server process. To activate this hook function, add the following line to the section [AppServerStartup] in the file $ENV{EPAGES_CONFIG}/Hooks.conf: DE_EPAGES::Presentation::Hooks::AppServerStartup::OnAppServerStartup=10.

Syntax
OnAppServerStartup( $hArgs );
Input
$hArgs (ref.hash)
hook parameters (currently no used)