You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by stephanos2k <st...@googlemail.com> on 2011/03/25 17:25:03 UTC

GZIP: Tapestry or Apache

Out of sheer interest: Assuming Apache is used in front of Tapestry, which of
the two would be the best place to GZIP resources? Why?

PS: Considering  speed, CPU/memory usage & compatibility - not considering:
setup & maintenance 

Cheers,
Stephanos

--
View this message in context: http://tapestry.1045711.n5.nabble.com/GZIP-Tapestry-or-Apache-tp4264432p4264432.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: GZIP: Tapestry or Apache

Posted by David Rees <dr...@gmail.com>.
On Fri, Mar 25, 2011 at 9:25 AM, stephanos2k
<st...@googlemail.com> wrote:
> Out of sheer interest: Assuming Apache is used in front of Tapestry, which of
> the two would be the best place to GZIP resources? Why?
>
> PS: Considering  speed, CPU/memory usage & compatibility - not considering:
> setup & maintenance

Because Tapestry is one of the few frameworks that gzip-encode on the
fly, we use Apache and mod_deflate to handle it.

There are some clients out there that really don't like gzip encoding
even if they say they do - and Apache gives us the flexibility to turn
it on/off for those specific clients on the fly.

CPU/memory usage is not typically a factor here.

-Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: GZIP: Tapestry or Apache

Posted by Massimo Lusetti <ml...@gmail.com>.
On Fri, Mar 25, 2011 at 7:25 PM, Howard Lewis Ship <hl...@gmail.com> wrote:

> Is anyone aware (translation: I'm too lazy to check) if Apache can
> cache the GZIPed stream as well?

Apache has a lot of module that let you achieve this quite easly...

Cheers
-- 
Massimo
http://meridio.blogspot.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: GZIP: Tapestry or Apache

Posted by Howard Lewis Ship <hl...@gmail.com>.
Provisio: If you have Apache running on a separate machine, not just a
separate process, it may be more effective to let it GZIP the content
since it will not have as much else to do.

As with all performance questions, the answer is to test and compare.

On Fri, Mar 25, 2011 at 11:25 AM, Howard Lewis Ship <hl...@gmail.com> wrote:
> As far as I know, Tapestry.
>
> This is to leverage the fact that for assets, Tapestry will cache the
> GZIPed assets, meaning that in the long run, much lower server load.
>
> Is anyone aware (translation: I'm too lazy to check) if Apache can
> cache the GZIPed stream as well?
>
>
> On Fri, Mar 25, 2011 at 9:25 AM, stephanos2k
> <st...@googlemail.com> wrote:
>> Out of sheer interest: Assuming Apache is used in front of Tapestry, which of
>> the two would be the best place to GZIP resources? Why?
>>
>> PS: Considering  speed, CPU/memory usage & compatibility - not considering:
>> setup & maintenance
>>
>> Cheers,
>> Stephanos
>>
>> --
>> View this message in context: http://tapestry.1045711.n5.nabble.com/GZIP-Tapestry-or-Apache-tp4264432p4264432.html
>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator of Apache Tapestry
>
> The source for Tapestry training, mentoring and support. Contact me to
> learn how I can get you up and productive in Tapestry fast!
>
> (971) 678-5210
> http://howardlewisship.com
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: GZIP: Tapestry or Apache

Posted by Howard Lewis Ship <hl...@gmail.com>.
As far as I know, Tapestry.

This is to leverage the fact that for assets, Tapestry will cache the
GZIPed assets, meaning that in the long run, much lower server load.

Is anyone aware (translation: I'm too lazy to check) if Apache can
cache the GZIPed stream as well?


On Fri, Mar 25, 2011 at 9:25 AM, stephanos2k
<st...@googlemail.com> wrote:
> Out of sheer interest: Assuming Apache is used in front of Tapestry, which of
> the two would be the best place to GZIP resources? Why?
>
> PS: Considering  speed, CPU/memory usage & compatibility - not considering:
> setup & maintenance
>
> Cheers,
> Stephanos
>
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/GZIP-Tapestry-or-Apache-tp4264432p4264432.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org