[ https://issues.apache.org/jira/browse/SLING-1549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12886044#action_12886044 ]
Andrew Khoury commented on SLING-1549: -------------------------------------- I think that using a cache size limit along with the use of an LFU or LRU cache algorithm would be a better solution so that the cache would not end up being full of rarely used request resolutions. > Servlet cache can grow infinitely > --------------------------------- > > Key: SLING-1549 > URL: https://issues.apache.org/jira/browse/SLING-1549 > Project: Sling > Issue Type: Bug > Components: Servlets > Affects Versions: Servlets Resolver 2.0.8 > Reporter: Carsten Ziegeler > Assignee: Carsten Ziegeler > Priority: Critical > Fix For: Servlets Resolver 2.0.10 > > > Thought there is a configuration for the maximum size of the servlet resolver > this config is not used to limit the cache; therefore the cache can grow > infinitely. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.