> > Servlet filters are loaded just once. > This is exactly what I mean, I don't want tapestry to load even once for some requests. GAE shutdown/startup instances very often (one new instance per ~3 minues) and this consumes additional resources.
I have around 12K requests per day ATM and every request billed by cpu usage. So I decided to refuse from tapestry for some requests and use pure filter API. Btw I use gnoredPathsFilters for GAE dev server admin console and appstats: public static void contributeIgnoredPathsFilter(Configuration<String> configuration) { // GAE filters configuration.add("/_ah/.*"); // GAE Appstats configuration.add("/appstats/.*"); } On Mon, Jun 7, 2010 at 17:22, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Mon, 07 Jun 2010 09:31:01 -0300, Dmitry Gusev <dmitry.gu...@gmail.com> > wrote: > > I also ended with writing custom filter wrapping T5 to not load tapestry >> for non-tapestry related requests wich may affect T5 by /* filter url >> pattern. >> > > Servlet filters are loaded just once. I guess you meant Tapestry not > handling some requests. > Tapestry already doesn't handles requests that aren't made to paths handled > by Tapestry. You can configure it adding this method to your AppModule: > > public static void contributeIgnoredPathsFilter(Configuration<String> > configuration) { > configuration.add("/dwr/.*"); > } > > This examples tells Tapestry to not touch requests to the dwr folder. > > -- > Thiago H. de Paula Figueiredo > Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, > and instructor > Owner, Ars Machina Tecnologia da Informação Ltda. > http://www.arsmachina.com.br > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Dmitry Gusev AnjLab Team http://anjlab.com