| Message view | « Date » · « Thread » |
|---|---|
| Top | « Date » · « Thread » |
| From | Jonathan Vanasco <modperl-l...@2xlp.com> |
| Subject | Re: mod_perl2 installed, but scripts still slow |
| Date | Tue, 22 Aug 2006 21:58:19 GMT |
look up Apache::DBI and Apache::DBI::connect_on_init that should speed up your system quite a bit - as you're connecting to the DB on every request you can also pre-cache your Petal templates on startup- if you're using the 2.19 patch, just pass in the 'cache_only' flag, and it will compile to disk+memory you have petal's disk caching off too. having that on will save a chunk of time between restarts and child processes | |
| Mime |
|
| View raw message | |