Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 6DB65650EA2 for ; Mon, 30 Jun 2008 11:06:17 -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 02178-01 for ; Mon, 30 Jun 2008 11:05:46 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from svr2.hagander.net (svr2.hagander.net [88.198.128.226]) by postgresql.org (Postfix) with ESMTP id 4DEFE650FC6 for ; Mon, 30 Jun 2008 10:54:14 -0300 (ADT) Received: from dynamic.hagander.net ([127.0.0.1]) (encrypted and authenticated) by svr2.hagander.net (Postfix) with ESMTP id 544E4DCC547; Mon, 30 Jun 2008 15:54:09 +0200 (CEST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by mha-laptop.hagander.net (Postfix) with ESMTP id C8790124149; Mon, 30 Jun 2008 15:54:08 +0200 (CEST) Message-ID: <4868E580.8000904@hagander.net> Date: Mon, 30 Jun 2008 15:54:08 +0200 From: Magnus Hagander User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: Alvaro Herrera CC: PostgreSQL WWW Subject: Re: [Pgweb] r2149 - in trunk/archives/html: . includes References: <20080630131950.D5E5C1A3518@community1.commandprompt.com> <4868DECA.5060004@hagander.net> <20080630135212.GB10311@alvh.no-ip.org> In-Reply-To: <20080630135212.GB10311@alvh.no-ip.org> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200806/199 X-Sequence-Number: 15426 Alvaro Herrera wrote: > 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. Ah, so there's an ulterior motive :-) > 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? Shouldn't be, they're tiny. > (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.) Check. I absoluteliy don't mind getting it folded into using the standard stuff. //Magnus