Re: Speeding up jspwiki [slightly ot]

Alex Samad <[email protected]> Sun, 19 Aug 2007 06:20:09 +1000
Newsgroups gmane.comp.java.jspwiki.user
Message-ID <[email protected]>
On Sat, Aug 18, 2007 at 04:08:19PM +0200, Juan Pablo Santos Rodríguez wrote:
> Hi Alex,
> 
> you can also check this article on ONJava:
> http://www.onjava.com/pub/a/onjava/2003/11/19/filters.html?page=1 , the
> "Compressing Content Using a Servlet Filter" section explains a J2EE filter
> which gzips the response sent by tomcat, if the client supports it. It
> seamlessly integrates with any webapp, you only have to define it in
> web.xmland define some url-patterns to tell the filter which resources
> should be
> gzipped (*.css, *.js, *, etc.)

great that looks good, but I wonder now if I need it as the deflate being done 
by apache now does all the content pushed through mod_jk


A

> 
> Regards,
> JP
> 
> 
> 2007/8/18, Janne Jalkanen <[email protected]>:
> >
> >
> > You can still keep all your jspwiki stuff in one place.  I just have
> > apache in front of it, routing everything through it, and I've added
> >
> > AddOutputFilterByType DEFLATE text/html text/plain text/xml
> > application/rss+xml application/rdf+xml application/x-javascript text/
> > css
> >
> > to my /etc/apache2/mods-enabled/deflate.conf
> >
> > /Janne
> >
> >
> > On Aug 18, 2007, at 13:16 , Alex Samad wrote:
> >
> > > Hi
> > >
> > > I have been do a once over on my setup apace  --mod-jk--- tomcat.
> > > I have added
> > > the deflate module to apache to gzip stuff it send.
> > >
> > > I was wondering if any one knows how to do the same for tomcat so
> > > that all the
> > > *.css files can be zipped up before being send.
> > >
> > > I have read about placing all the static stuff on the apache server
> > > and just
> > > let the jsp/java stuff run on tomcat, but I like to keep all my
> > > jspwiki in one
> > > place.
> > >
> > > [i know this is not strictly a jspwiki issue, but I am guessing
> > > somebody might
> > > have the experience]
> > >
> > > Thanks
> > >
> > > Alex
> > > _______________________________________________
> > > This is the Jspwiki-users mailing list, in which we discuss the
> > > stable release (even-numbered, 2.4.x, 2.6.x), and user-issues.
> > > For development discussion, please join jspwiki-dev.
> > > http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users
> > > http://www.jspwiki.org/JSPWikiMailingList
> >
> > _______________________________________________
> > This is the Jspwiki-users mailing list, in which we discuss the
> > stable release (even-numbered, 2.4.x, 2.6.x), and user-issues.
> > For development discussion, please join jspwiki-dev.
> > http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users
> > http://www.jspwiki.org/JSPWikiMailingList
> >
> _______________________________________________
> This is the Jspwiki-users mailing list, in which we discuss the 
> stable release (even-numbered, 2.4.x, 2.6.x), and user-issues. 
> For development discussion, please join jspwiki-dev.
> http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users
> http://www.jspwiki.org/JSPWikiMailingList
>