Here's an example config using mod_perl2. It comes with Expires header setting for best front-end performance.
<VirtualHost *>
ServerName myapp.example.org
ServerAdmin admin@example.org
DocumentRoot /myapp
SetHandler perl-script
PerlHandler Jifty::Script::ModPerl2
<Directory /myapp>
Allow from All
ExpiresActive On
ExpiresByType image/png A864000000
ExpiresByType application/x-javascript A864000000
ExpiresByType text/css A864000000
SetOutputFilter DEFLATE
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
Header append Vary User-Agent env=!dont-vary
</Directory>
<Location /__jifty/>
Allow from All
SetHandler perl-script
PerlHandler Jifty::Script::ModPerl2
ExpiresActive On
ExpiresDefault "access plus 10 years"
</Location>
</VirtualHost>