myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Kukushkin (JIRA)" <>
Subject [jira] [Reopened] (MYFACES-3575) Disable relative location caching in DefaultFaceletFactory
Date Wed, 27 Jun 2012 13:17:45 GMT


Dmitry Kukushkin reopened MYFACES-3575:

Still no good, using 2.1.8. My problem is that in public Facelet getFacelet(String uri) relative
location is unconditionally cached, while in my case _resolver.resolveUrl(path) can return
different URLs for the same path, depending on the application's internal state. The caching
of the outcome of _resolver.resolveUrl(path) breaks this. 
> Disable relative location caching in DefaultFaceletFactory
> ----------------------------------------------------------
>                 Key: MYFACES-3575
>                 URL:
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: Extension Feature
>    Affects Versions: 2.0.14, 2.1.8
>         Environment: Linux
>            Reporter: Dmitry Kukushkin
>            Assignee: Leonardo Uribe
>            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:!default.jspa
For more information on JIRA, see:


View raw message