Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-2060

Make Optimized PPR the default with a public flag to disable it at the web.xml and application levels

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.0-core
    • 2.0.0-core
    • None
    • None

    Description

      Optimized PPR is currently enabled using the internal web.xml flag:"org.apache.myfaces.trinidadinternal.ENABLE_PPR_OPTIMIZATION" to enable PPR Optimization in web.xml and the following internal application map property "org.apache.myfaces.trinidadinternal.DISABLE_PPR_OPTIMIZATION" to dynamically turn PPR optimization on and off.

      PPR Optimization currently defaults off

      The proposal is to:
      1) Make PPR Optimization default to "on" now that we've tested the components and fixed the tree visiting bugs
      2) Support a public flag in case an application is working with a third party component that doesn't support PPR optmization
      3) Make the application and web.xml flags the same to avoid confusion (the application flag is useful for debugging)
      4) Use the value "on" and "off" in case we need to add a third value later

      Attachments

        1. trin2060_2b3.diff
          5 kB
          Blake Sullivan

        Activity

          People

            btsulliv Blake Sullivan
            btsulliv Blake Sullivan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Remaining Estimate - 4h
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified