X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FCookbook.pod;h=6a4c2fc0acc127e9466194a898d04e1ff99c263b;hb=3f043f410582fbbc0d26ccc09060fdbcc7150df0;hp=11f98e58004c1668ac59796f42d3c367a5b1f348;hpb=6daaedc0ef41066d546f9aca90199c2eae47c1c2;p=catagits%2FCatalyst-Manual.git diff --git a/lib/Catalyst/Manual/Cookbook.pod b/lib/Catalyst/Manual/Cookbook.pod index 11f98e5..6a4c2fc 100644 --- a/lib/Catalyst/Manual/Cookbook.pod +++ b/lib/Catalyst/Manual/Cookbook.pod @@ -1777,6 +1777,9 @@ can be used without worrying about the thread safety of your application. =head3 Cons +You may have to disable mod_deflate. If you experience page hangs with +mod_fastcgi then remove deflate.load and deflate.conf from mods-enabled/ + =head4 More complex environment With FastCGI, there are more things to monitor and more processes running @@ -1937,6 +1940,33 @@ L, which simplifies the process greatly. From the sh % perl Makefile.PL % make catalyst_par +You can customise the PAR creation process by special "catalyst_par_*" commands +available from L. You can add these commands in your +Makefile.PL just before the line containing "catalyst;" + + #Makefile.PL example with extra PAR options + use inc::Module::Install; + + name 'MyApp'; + all_from 'lib\MyApp.pm'; + + requires 'Catalyst::Runtime' => '5.80005'; + + ... + + + catalyst_par_core(1); # bundle perl core modules in the resulting PAR + catalyst_par_multiarch(1); # build a multi-architecture PAR file + catalyst_par_classes(qw/ + Some::Additional::Module + Some::Other::Module + /); # specify additional modules you want to be included into PAR + catalyst; + + install_script glob('script/*.pl'); + auto_install; + WriteAll; + Congratulations! Your package "myapp.par" is ready, the following steps are just optional.