Disable facelets reloading for PROJECT_STAGE=Production
-------------------------------------------------------
Key: MYFACES-2764
URL: https://issues.apache.org/jira/browse/MYFACES-2764
Project: MyFaces Core
Issue Type: Improvement
Components: JSR-314
Affects Versions: 2.0.1-SNAPSHOT
Environment: myfaces trunk
Reporter: Martin Kočí
Priority: Minor
During profiling I noticed that
org.apache.myfaces.view.facelets.impl.DefaultFaceletFactory.getFacelet(URL)
takes some time even in PROJECT_STAGE=Production. Problem is in
DefaultFaceletFactory.needsToBeRefreshed(DefaultFacelet) - it returns true
(sometimes) even in production. It can be easily solved with
javax.faces.FACELETS_REFRESH_PERIOD=-1 but considering PROJECT_STAGE value in
this situation is more user friedly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.