Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-6914

Performance issue with resource resolution in TemplateResolver

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3.4
    • Templating
    • None

    Description

      The default template resolver, in the markup template engine, always delegate to the classloader. As illustrated by https://github.com/ratpack/ratpack/pull/370 and https://github.com/ratpack/ratpack/pull/363, this can lead to a performance drop.

      The sitation can be fixed by adding caching of already resolved URLs.

      Attachments

        Activity

          People

            melix Cédric Champeau
            melix Cédric Champeau
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: