> > btw: do we already have an "always" matcher? > > due to the lastest performance analysis we should better > > substitute > > > > <map:match pattern="*"> or <map:match pattern="**"> > > > > with > > > > <map:match type="always"> > > Well, you might end up with Matchers like > > <map:match type="startsWith" pattern="foo"> > > or > > <map:match type="endsWith" pattern="bar"> > > for performance reasons and the numbers of Matchers will exponantially > grow.
...well, could you really think of more? If I look into our sitemaps those are the most widely used ones. All other would be regexpr / wildcard. I don't think it's that bad... If I can really save that amount of per-request processing time - I would go for it! We could also modify the WildcardMatcher and hardcode some patterns instead... pattern="**" pattern="**something" pattern="something**" would be interesting to see the impact on performance... -- Torsten --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]