Re: Problem with WIKI Contents links - Mailing list pgsql-www

From Alvaro Herrera
Subject Re: Problem with WIKI Contents links
Date
Msg-id 20090120203256.GG3940@alvh.no-ip.org
Whole thread Raw
In response to Re: Problem with WIKI Contents links  (Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>)
Responses Re: Problem with WIKI Contents links
List pgsql-www
Stefan Kaltenbrunner escribió:
> Joshua D. Drake wrote:
>> On Wed, 2009-01-21 at 06:37 +1100, Brendan Jurd wrote:
>>> On Wed, Jan 21, 2009 at 3:59 AM, Bruce Momjian <bruce@momjian.us> wrote:
>>
>>> I suppose we could switch to using <div>s with style="..." attributes
>>> to control the layout, but the TODO already renders as a 53kB of HTML.
>>
>> This is easily solved with mod_deflate I think. Are we running it on
>> wiki? Any browser we should be supporting will support the compressed
>> content.
>
> mediawiki is using PHPs zlib support to automatically compress pages
> even if mod_deflate is not installed as long as the browser supports it.
> In this case the todo is actually ~400kB large and gets compressed down
> to ~50kB ...

So it comes down to adding a bunch of highly compressible tags ...
probably not going to add a lot of extra download time (not sure about
the extra render time).

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-www by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Problem with WIKI Contents links
Next
From: Peter Eisentraut
Date:
Subject: Re: source mirrors