Hi all, I have a webpage that has about 5 SSIs on it. Each SSI points to a perl script that returns some value (character string between 10-15 characters). The script runs relatively fast when run on it's own (i.e. command line or such) but on this html page - numerous times - it tends to cause the page to really load up slowly. What can I do to speed up the processing of the page? Is this slowness due to the number of calls to the script? Something to do with IIS and how it assigns the tasks out? Etc..,? I've ran it on a few Windows machines running IIS and same results. Here's a sample of the code :
<li><a href="/path1/<!--#exec cgi="/cgi-bin/somescript.pl?parmNod +e=1" -->">Item 1</a></li> <li><a href="/path2/<!--#exec cgi="/cgi-bin/somescript.pl?parmNod +e=2" -->">Item 2</a></li>
The script acts as a generator of values and has to be on plain html pages that aren't able to get parsed. If anyone has any ideas on how to speed up the SSIs in this case I'd love to hear from you with a possible solution or 2 on how to fix it. Thanks. AF

In reply to SSI execs for Perl CGI script by rpike

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.