myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Concini (JIRA)" <...@myfaces.apache.org>
Subject [jira] Updated: (MYFACES-2764) Disable facelets reloading for PROJECT_STAGE=Production
Date Fri, 02 Jul 2010 11:20:52 GMT

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

Michael Concini updated MYFACES-2764:
-------------------------------------

           Status: Resolved  (was: Patch Available)
    Fix Version/s: 2.0.1
       Resolution: Duplicate

change to disable reloading was committed along with other performance updates in MYFACES-2780.

> 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
>             Fix For: 2.0.1
>
>         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.


Mime
View raw message