I'm a bit confused. You need static pages, because you can't handle the load, but you want perl to power it all?

Your low load option is to just use static pages. Very little processor load, because serving static pages it the easiest method of web serving.

Your medium load option is to use a mod_perl backend to write your own SSI scheme (A la Douglas M. and Lincoln S. in "Building Apache Modules in Perl and C"). This will give you added functionality (custom SSI), and tight integration with a real web server (Apache). The custom SSI can do as much as you can code.

Your high load option is to just use mod_perl to add headers, footers and menus to your pages on the fly, and just let maintainers worry about content (making your pages into an enormous table with one row as a header, one td of the second row a menu, a second as the main body of the page, and another row as a footer is most common).

Spiders can index results from CGIs, but can't generate the parameters passed to CGIs that you may want.

If you have more questions, /msg me.

JJ

J. J. Horner

Linux, Perl, Apache, Stronghold, Unix

jhorner@knoxlug.org http://www.knoxlug.org


In reply to Re: Perl solutions for large web sites? by jjhorner
in thread Perl solutions for large web sites? by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.