Author: cziegeler
Date: Sat May  9 12:43:11 2015
New Revision: 1678488

URL: http://svn.apache.org/r1678488
Log:
Add more info about opting servlet

Modified:
    sling/site/trunk/content/documentation/the-sling-engine/servlets.mdtext

Modified: 
sling/site/trunk/content/documentation/the-sling-engine/servlets.mdtext
URL: 
http://svn.apache.org/viewvc/sling/site/trunk/content/documentation/the-sling-engine/servlets.mdtext?rev=1678488&r1=1678487&r2=1678488&view=diff
==============================================================================
--- sling/site/trunk/content/documentation/the-sling-engine/servlets.mdtext 
(original)
+++ sling/site/trunk/content/documentation/the-sling-engine/servlets.mdtext Sat 
May  9 12:43:11 2015
@@ -166,6 +166,8 @@ If a registered servlet implements the O
 
 In this case, the servlet is only selected for processing the current request 
if its `accept` method returns true.
 
+While an opting servlet seems to be a nice way of picking the right servlet to 
process the request, the use of an opting servlet is not recommended: the main 
reason is that it complicates the request processing, makes it less transparent 
what is going on during a request and prevents optimizations like caching the 
script resolution in an optimal manner. The other static options are usually 
sufficient for all use cases.
+
 
 ## Error Handler Servlet(s) or Scripts
 


Reply via email to