Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 03853650EA2 for ; Mon, 30 Jun 2008 11:05:41 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 01598-01 for ; Mon, 30 Jun 2008 11:05:17 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from lists.commandprompt.com (host-159.commandprompt.net [207.173.203.159]) by postgresql.org (Postfix) with ESMTP id BEBC9650FBD for ; Mon, 30 Jun 2008 10:52:34 -0300 (ADT) Received: from perhan.alvh.no-ip.org (200-126-114-65.bk8-dsl.surnet.cl [200.126.114.65]) (authenticated bits=0) by lists.commandprompt.com (8.13.8/8.13.8) with ESMTP id m5UDsFJ6023161 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 30 Jun 2008 06:54:24 -0700 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 8434047C7F; Mon, 30 Jun 2008 09:52:12 -0400 (CLT) Date: Mon, 30 Jun 2008 09:52:12 -0400 From: Alvaro Herrera To: Magnus Hagander Cc: PostgreSQL WWW Subject: Re: [Pgweb] r2149 - in trunk/archives/html: . includes Message-ID: <20080630135212.GB10311@alvh.no-ip.org> References: <20080630131950.D5E5C1A3518@community1.commandprompt.com> <4868DECA.5060004@hagander.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4868DECA.5060004@hagander.net> User-Agent: Mutt/1.5.18 (2008-05-17) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (lists.commandprompt.com [207.173.203.159]); Mon, 30 Jun 2008 06:54:26 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200806/198 X-Sequence-Number: 15425 Magnus Hagander wrote: > What's the reason for this? :-) > > Keeping it on the main website gets you the global distribution for > faster access, and also better caching for people... Is there any reason > not to use that? Also, in order to fix the hardcodedness of lists in the archives pages, I need a templating system; and what better idea than to just reuse the PgPage stuff? So I was considering using svn:externals to get portal/system/global and pearlib/ into trunk/archives, so that a checkout of archives gets the needed files. The downside is that if somebody checks out pgweb:trunk/ then he will get those files twice. Is that too much of a problem for anyone? (Before anybody complains about the extra load, I'm not planning to use the templating stuff for every page load -- only to generate some includes when the list of lists changes. This probably means that it will be cheaper than the current code, because most of it will be plain HTML instead of having some embedded PHP.) -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.