http://henry.precheur.org/2009/4/23/GZIP_encoding_%3D_happier_users%3F.html

On Apr 27, 2:45 pm, AchipA <[email protected]> wrote:
> Text compresses very well, and usually much faster than the network IO
> handles data. Example: let's say you have a 100KB/s link. If your main
> page is 100KB, it takes a second to transfer it. Compressing 100K
> takes WAY less than 1 sec and decompressing even less than that. Also,
> in the time you're decompressing you can download the images in
> parallel, effectively increasing overall browsing speed.
>
> From the server aspect, CPU is usually cheap. Compressed pages means
> connections can be ended sooner, which in turn lowers memory
> requirements and improves response time.
>
> So, unless your pages are really small or already compressed, it
> almost always pays to compress. Not to mention bandwidth cost. The
> exception is if this is an intranet or localhost deployment.
>
> On Apr 27, 9:31 am, mdipierro <[email protected]> wrote:
>
> > There are two issues here:
>
> > 1) yes applications should be zipped. We can support both .tar
> > and .zip to avoid backward compatibility problems. Has been on my list
> > of things to do. Perhaps somebody will send me a patch.
>
> > 2) data should (should?) be transmitted zipped by the web server.
> > cherrpypy's wsgiserver cannot do it but apache does it. It is not
> > clear that there is a real benefit since it takes time to zip/unzip.
>
> > Massimo
>
> > On 27 Apr, 08:27, AchipA <[email protected]> wrote:
>
> > > I don't know how hard/easy it would be to convince cherrypy to gzip
> > > content on the http level. It would actually make sense to have that
> > > option for ALL text content, too, to minimize bandwidth use (this is a
> > > web server level option, completely transparent to clients, and since
> > > it relies on headers, it can automatically fall back).
>
> > > On Apr 27, 8:09 am, Álvaro Justen [Turicas] <[email protected]>
> > > wrote:
>
> > > > Hello,
> > > > why aren't apps gzipped by default?
> > > > Ok, all source code is zipped, but if I want to download only one app
> > > > (from SVN/Bazaar or from appliances) I have to download a big file. An
> > > > example is examples.tar, that has 7,5MB - examples.tar.gz has only
> > > > 810kB (less than 11% of the original size).
>
> > > > Some contries don't have super-high-speed Internet connections and I
> > > > prefer my proccess working on compression/uncompression than my
> > > > network with full load for a long time.
>
> > > > --
> > > >  Álvaro Justen
> > > >  Peta5 - Telecomunicações e Software Livre
> > > >  21 3021-6001 / 9898-0141
> > > >  http://www.peta5.com.br/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to