You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2012/06/26 16:21:44 UTC

[jira] [Commented] (MYFACES-3575) Disable relative location caching in DefaultFaceletFactory

    [ https://issues.apache.org/jira/browse/MYFACES-3575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13401409#comment-13401409 ] 

Leonardo Uribe commented on MYFACES-3575:
-----------------------------------------

In JSF 2.1 you can provide your custom FaceletCacheFactory and override that part. Since JSF 2.0 and 2.1 has few changes, there is no need to do something in JSF 2.0 branch, just try with 2.1 jars.
                
> Disable relative location caching in DefaultFaceletFactory
> ----------------------------------------------------------
>
>                 Key: MYFACES-3575
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3575
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: Extension Feature
>    Affects Versions: 2.0.14
>         Environment: Linux
>            Reporter: Dmitry Kukushkin
>            Priority: Minor
>
> In some circumstances the caching of the relative location in the public Facelet getFacelet(String uri) in DefaultFaceletFactory is not desirable: e.g. return the mobile and full content version for the same URI, if the user changes the content type on the fly. Now this caching always causes the same content to be returned.
> Should it be possible to switch it off like it is done for other caches in this class with needsToBeRefreshed check and NO_CACHE_DELAY configuration parameter?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira