[Yanel-dev] Enable GZIP Compression in Tomcat

Michael Wechner michael.wechner at wyona.com
Wed Apr 6 00:40:23 EDT 2016


Hi Balz

That's a lot smaller indeed, thanks for pointing this out!

I could imagine that this makes a difference in the case of a release of
a new js or css and having many subscribers to your website and that the
subscribers may access the website all at "once", because of a
newsletter notification.

All the best

Michael

Am 05.04.16 um 21:23 schrieb basZero:
> Hi Michael,
>
> yes, it gets A LOT smaller.
> I also have minimized CSS and JS, but with compression enabled you can
> save again up to 80% of bandwidth.
>
> So it's definitely worth having it in place (because CPUs nowadays are
> obviously really fast enough to deal with runtime zipping and unzipping).
>
> Cheers
> Bas
>
> On Tue, Apr 5, 2016 at 8:42 PM, Michael Wechner
> <michael.wechner at wyona.com <mailto:michael.wechner at wyona.com>> wrote:
>
>     Hi Balz
>
>     I guess you are talking about for example
>
>     https://tomcat.apache.org/tomcat-7.0-doc/config/
>
>     I think we could add a customized version to
>
>     https://github.com/wyona/yanel/tree/master/tools/apache-tomcat/7.0.25
>
>     Does the gzip compression make minimized js and css even smaller?
>
>     Thanks
>
>     Michael
>
>     Am 05.04.16 um 17:55 schrieb basZero:
>>     Hi,
>>
>>     I checked github repos of yanel but didn't find any example files
>>     for SERVER.XML that would show the recommended configuration to
>>     run Yanel.
>>
>>     So I add the hint via mail although I believe it would be better
>>     to add a server.xml example to the yanel github repo, so that
>>     people can start from there.
>>
>>     Topic: Google Search Ranking is also dependent of the score you
>>     get out of the Insights Tool:
>>     https://developers.google.com/speed/pagespeed/insights/
>>
>>     Per default, Google Insights tell you to enable GZIP compression.
>>
>>     In order to do so, add these attributes to the Connector in the
>>     server.xml of your Tomcat:
>>
>>     compression="on"
>>     compressableMimeType="text/html,text/xml,application/x-javascript,text/css"
>>
>>     If you set this, produced HTML pages as well as ".js" and ".css"
>>     files will be compressed.
>>
>>     Cheers
>>
>>
>>
>
>
>     --
>     Yanel-development mailing list Yanel-development at wyona.com
>     <mailto:Yanel-development at wyona.com>
>     http://mx2.wyona.com/cgi-bin/mailman/listinfo/yanel-development
>
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mx2.wyona.com/pipermail/yanel-development/attachments/20160406/117755b6/attachment.html>


More information about the Yanel-development mailing list