On Tue, Aug 23, 2011 at 12:03 PM, Ian Boston <[email protected]> wrote: > On 23 August 2011 10:18, Carsten Ziegeler <[email protected]> wrote: >> I'm not sure if we really should change this :) >> OptingServlet should be an exception and not the default case of >> handling requests. Remember for example that as soon as you're using >> an opting servlet, the resolution can't be cached. > > > Very true, and once you give a developer the a route to > programatically opt for a request, rather than declaratively, they > will add loads of servlets at the /* level, usually in the last > minutes before a deadline. That kills all hope of performance. I think this is a strong argument for supporting regex in sling.servlet.paths as with would allow very efficient selection strategies.
Reto
