Thomas Andraschko commented on MYFACES-4202:

NVM. We should put a mapping with className,true|false in the applicationMap.
Probably we should refactor the whole cache thing in 2.4x. We always put single 
values in the application map, i think it would be far better if we would 
introduce something like MFApplicationCache or something.

> [perf] FacesServletMappingUtils.isFacesServlet calls 
> ClassUtils.simpleClassForName on every request
> ---------------------------------------------------------------------------------------------------
>                 Key: MYFACES-4202
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4202
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: JSR-372
>    Affects Versions: 2.3.0-beta
>            Reporter: Eduardo Breijo
>            Assignee: Eduardo Breijo
>            Priority: Major
>             Fix For: 2.3.0
> FacesServletMappingUtils.isFacesServlet is invoked on every request. This 
> means that ClassUtils.simpleClassForName() will also be invoked on every 
> request. We need to cache the boolean value for each servletClassName to 
> improve performance.

This message was sent by Atlassian JIRA

Reply via email to