in reply to is precompiling possible / effective?

Without knowing what "bunch of stuff" refers to it's impossible for me to know how to answer the question you've actually asked (and "no, I'm not clear what you mean by 'precompile'.")

So, with those caveats, an answer directed to another possible reading of your question...

If main.pl is producing a fundamentally static page (say something that says 'Welcome to whazit.com; our widgets are better than theirs. Buy now!' followed by links to additional content (such as pages targeted to the asserted advantages; price; and/or an E-commerce ordering page, you might consider using an index.html for the content you're now producing with main.pl, and reserve your hits on cgi-bin for dynamic pages.

  • Comment on Re: is precompiling possible / effective?

Replies are listed 'Best First'.
Re^2: is precompiling possible / effective?
by Fletch (Bishop) on Feb 13, 2009 at 01:07 UTC

    Alternately if it's only quasi-dynamic (changing perhaps weekly, daily, or even hourly) you could rewrite to generate a new "static" version every whatever interval and have cron or the like periodically re-create the static files which apache serves.

    The cake is a lie.
    The cake is a lie.
    The cake is a lie.