Re: FAQ 3.19 How can I make my CGI script more efficient?



Brian Wakem wrote:
> Purl Gurl wrote:
> > Gunnar Hjalmarsson wrote:
> >> Purl Gurl wrote:

(snipped)

> > Serving up pages via cgi is significantly more efficient than static html
> > pages; increase in Apache speed is amazing. Apache is relieved of parsing
> > for content such as html versus plaintext, relieved of producing content
> > headers, relieved of parsing for server side includes, on and on. Apache
> > runs lots faster.

> This is absolute pish-posh. Apache running all bell and whistles (SSI etc)
> will serve static pages *at least* 100 times faster than mod_cgi served
> pages, and twice as fast as mod_perl served pages.

> If this is not the case on your machine then you have serious config
> problems.

> I have done much benchmarking on these issues.

Honestly and truly? I believe you are full of mule manure.


URL measured: http://www.purlgurl.net/~callgirl/index.cgi
Page speed: 1.89 sec (see details below)
Compare to: 2.49 sec (average speed of all our benchmarks)

Page downloading steps (as seen by Microsoft Internet Explorer):

Seconds Status Activity URL
0.00 Loading Begin Navigation http://www.purlgurl.net/~callgirl/index.cgi
0.00 Loading Begin Download
0.33 Loading End Navigation
1.90 Interactive End Download
1.90 Complete Document Complete

***

URL measured: http://www.purlgurl.net/~godzilla/index.html
Page speed: 6.50 sec (see details below)
Compare to: 2.49 sec (average speed of all our benchmarks)

Page downloading steps (as seen by Microsoft Internet Explorer):

Seconds Status Activity URL
0.00 Loading Begin Navigation http://www.purlgurl.net/~godzilla/index.html
0.03 Loading Begin Download
3.94 Loading End Navigation
6.48 Interactive End Download
6.50 Complete Document Complete


Purl Gurl
.



Relevant Pages

  • Re: Attention David F
    ... the page was loading, especially with Google analytics... ... Connection Rate Download Time ... I think I will stay with Publisher 2000 ... Web Plus does seem to offer a lot of features that you ...
    (microsoft.public.publisher.webdesign)
  • Re: IE cannot open MS Office files over SSL connection, no problem in Firefox
    ... > I have a secured web environment running Apache 1.3.33 and Tomcat 5.5.9 ... > These users can download any other types of files from this page (i.e. ... standards-compliant implementation of TLS that does not fail when extensions ...
    (comp.lang.java.help)
  • Re: problem loading php_gd2.dll php5/apache2.0+
    ... I have tried setting the extension dir in php.ini, and loading the GD ... module from there when apache is started, but it won't load. ... If it won't load at Apache startup, ... I've included the correct syntax bellow for loading the php5 module, ...
    (comp.lang.php)
  • Re: Bandwidth Monitoring per Directory
    ... Thanks...I'll ask in the apache list too. ... > to log transfer sizes in your access_log ... > a website that I have registered members on. ... > download, and then cancels it after 100k, I need to know they didn't ...
    (RedHat)
  • "copy" from File::Copy fails but returns success
    ... The CGI program, running under Apache, supports download of a file from a Linux server running Perl 5.8.6. ... The files are stored compressed, so the download program first copies the compressed file to a temporary directory, then uncompresses it and handles the HTTP for the download. ... If you think it's a Linux or Apache configuration problem then please say so and I'll take this to the relevant group; but this code worked a few weeks ago and I've not touched the Apache configuration since. ...
    (comp.lang.perl.misc)