Not necessarily.
You can use mod_proxy to cache the dynamically generated pages on the
lightweight apache.
Check out <http://perl.apache.org/guide/strategy.html#Apache_s_mod_proxy>
for details on what headers you'll need to set for caching to work.
On Fri, 22 Dec 2000, Philip Mak wrote:
> Hi everyone,
>
> I have been going over the modperl tuning guide and the suggestions that
> people on this list sent me earlier. I've reduced MaxClients to 33 (each
> httpd process takes up 3-4% of my memory, so that's how much I can fit
> without swapping) so if the web server overloads again, at least it won't
> take the machine down with it.
>
> Running a non-modperl apache that proxies to a modperl apache doesn't seem
> like it would help much because the vast majority of pages served require
> modperl.
>