Had an interesting situation at work recently. We manage some data for clients, as a courtesy we take care of their sites also. These were hosted with a 3rd party hosting provider.

This hosting provider has various other accounts (virtual hosting) we have nothing to do with. One of these other hosting accounts got some attention for hosting illegal content.

The fbi has the machine now. Happened rather suddenly. The sites, the backups of the sites, content, etc .. gone.

Quite not accessible. Having raid doesn't help if the whole machine suddenly disappears :-)
And so, over the weekend we had to put a few sites back up with, nothing. Out of the blue more or less.

Putting these sites together I found some .. almost template setups some of them were built on. Some of this stuff was mainly using ssi includes, making calls to perl scripts for content.

What kinda caught my interest after all this.. I found that putting back together sites with ssi and calls to scripts, seemed very quick and useful. From guerrilla warfare viewpoint.

I toyed around in my head about the idea, of having a few vague scripts, that pages can call for content- via ssi.

What feels ugly - is that if a ssi page calls ten various scripts, for example, then for every query for the resource, the server calls perl/the scripts.. ten times. For every request for every user.

Does anybody have experience designing a site with ssi and multiple calls to scripts for content? Is this a troublemaker or maybe something worth pursuing?

( Of course, it matters what the scripts are doing- that's implied.)


In reply to website infrastructure of ssi and calls to scripts bad juju? by leocharre

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.