X-Git-Url: http://git.shiar.net/perl/plp/.git/blobdiff_plain/0836519b627579b7edd0ec6527f75344e0527bd4..a3a4d694959ff6549ab0a37632440f529229c576:/PLP/Backend/FastCGI.pm diff --git a/PLP/Backend/FastCGI.pm b/PLP/Backend/FastCGI.pm index f83675a..85a5234 100644 --- a/PLP/Backend/FastCGI.pm +++ b/PLP/Backend/FastCGI.pm @@ -50,8 +50,8 @@ Example F: #!/usr/bin/perl use PLP::Backend::FastCGI; -Then enable either I or I, and setup F -(often just create a F) with: +Then enable either I (recommended) or I, and +setup F (in new installs just create F) with: AddHandler fastcgi-script plp @@ -63,6 +63,30 @@ Then enable either I or I, and setup F FCGIWrapper /foo/bar/plp.fcgi .plp +=head1 DESCRIPTION + +This is usually the preferred backend, providing persistent processes +for speeds comparable to L and +reliability closer to L. + +Servers often feature auto-adjusting number of daemons, script timeouts, +and occasional restarts. + +=head2 Configuration directives + +PLP behaviour can be configured by setting environment variables. + +=over 16 + +=item PLP_CACHE + +Sets caching off if false (0 or empty), on otherwise (true or undefined). +When caching, PLP saves your script in memory and doesn't re-read +and re-parse it if it hasn't changed. PLP will use more memory, +but will also run 50% faster. + +=back + =head1 AUTHOR Mischa POSLAWSKY