Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-5999

Rendering listeners: performance improvements

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Neutral
    • 5.4
    • 5.4
    • rendering
    • None

    Description

      • Use enumeration instead of Strings for listeners return codes.
      • Add ResponseContentTypeVoter by default set to text/html to skip processing of all other requests.
      • Instruct rendering engine to don't add listeners if init method returns skipListener. info.magnolia.rendering.engine.DefaultRenderingEngine.initListeners(OutputProvider): listener are not cleaned. That causes listeners duplication when dispatching requests.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                rkovarik Roman Kovařík
                rkovarik Roman Kovařík
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD