From owner-freebsd-questions Fri Feb 20 04:25:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA08556 for freebsd-questions-outgoing; Fri, 20 Feb 1998 04:25:00 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from tyree.iii.co.uk ([195.89.149.230]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA08532 for ; Fri, 20 Feb 1998 04:24:56 -0800 (PST) (envelope-from nik@iii.co.uk) From: nik@iii.co.uk Received: from carrig.strand.iii.co.uk (carrig.strand.iii.co.uk [192.168.7.25]) by tyree.iii.co.uk (8.8.8/8.8.8) with ESMTP id LAA03816; Fri, 20 Feb 1998 11:24:33 GMT Received: (from nik@localhost) by carrig.strand.iii.co.uk (8.8.7/8.8.7) id LAA00397; Fri, 20 Feb 1998 11:29:47 GMT Message-ID: <19980220112946.14414@iii.co.uk> Date: Fri, 20 Feb 1998 11:29:46 +0000 To: Doug White Cc: Randy Katz , questions@FreeBSD.ORG Subject: Re: Dynamic or Static Query??? References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.85e In-Reply-To: ; from Doug White on Thu, Feb 19, 1998 at 12:51:58PM -0800 Organization: interactive investor Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Feb 19, 1998 at 12:51:58PM -0800, Doug White wrote: > On Wed, 18 Feb 1998, Randy Katz wrote: > > I have a general question about a Web Site. Should the pages be generated > > dynamically or statically? > > Absolutely statically. If your hit rate goes ballistic the instances of > perl or sh will drag the system down way before you hit the static file > limit. Generally true. There are tricks you can do to speed this up. You can embed Perl in the Apache server for example, to avoid the startup costs. This also caches a 'compiled' version of your script, so there's no interpretation overhead either. Yields immense speedups. > If the script breaks, the whole thing dies ;( True. N -- --+==[ Nik Clayton is Just Another Perl Hacker at Interactive Investor ]==+-- . . . and relax To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message