Re: FAQ 3.19 How can I make my CGI script more efficient?
- From: Samwyse <samwyse@xxxxxxxxx>
- Date: Mon, 07 Nov 2005 11:54:38 GMT
Purl Gurl wrote:
[...]Brian Wakem wrote:
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)
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)
[...]
Totally meaningless, since we don't know how you configured your Apache server. For example, did you know that it's possible to give your CGI scripts a file extension of .html, and your static HTML with a file extension of .cgi? Perhaps you could show us the source of the CGI script, whichever file it is, so someone could test them for you.
Frodo, however, doesn't believe that you'd think of doing that. More likely, he says, is that you have somehow disabled in-memory caching for HTML files, while your CGI files stay resident in memory. He suggests that showing us your http.conf file would likely be both informative and amusing.
.
- Follow-Ups:
- Re: FAQ 3.19 How can I make my CGI script more efficient?
- From: Purl Gurl
- Re: FAQ 3.19 How can I make my CGI script more efficient?
- References:
- FAQ 3.19 How can I make my CGI script more efficient?
- From: PerlFAQ Server
- Re: FAQ 3.19 How can I make my CGI script more efficient?
- From: Matt Garrish
- Re: FAQ 3.19 How can I make my CGI script more efficient?
- From: Brian Wakem
- Re: FAQ 3.19 How can I make my CGI script more efficient?
- From: Gunnar Hjalmarsson
- Re: FAQ 3.19 How can I make my CGI script more efficient?
- From: Purl Gurl
- FAQ 3.19 How can I make my CGI script more efficient?
- Prev by Date: Re: Can't get group to match - please help
- Next by Date: Re: Auction Sniper
- Previous by thread: Re: FAQ 3.19 How can I make my CGI script more efficient?
- Next by thread: Re: FAQ 3.19 How can I make my CGI script more efficient?
- Index(es):
Relevant Pages
|