Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3575

Disable relative location caching in DefaultFaceletFactory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Later
    • 2.0.14, 2.1.8
    • None
    • Extension Feature
    • None
    • Linux

    Description

      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?

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            dmitry_kukushkin Dmitry Kukushkin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: