You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Martin Kočí (JIRA)" <de...@myfaces.apache.org> on 2010/06/20 21:00:26 UTC

[jira] Updated: (MYFACES-2764) Disable facelets reloading for PROJECT_STAGE=Production

     [ https://issues.apache.org/jira/browse/MYFACES-2764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Kočí updated MYFACES-2764:
---------------------------------

    Status: Patch Available  (was: Open)

> 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
>         Attachments: MYFACES-2764.patch
>
>
> 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.