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

MarkupTemplateEngine should set defeat JVM URL caching if caching is disabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.4.0-rc-1
    • None
    • Templating
    • None

    Description

      The constructor for MarkupTemplateMaker:

      public MarkupTemplateMaker(final URL resource, Map<String, String> modelTypes)
      

      Constructs the template code source via

      new GroovyCodeSource(resource);

      if caching is false. This won't default URL caching, which it should.

      GroovyCodeSource will probably have to be updated to read the URL while calling setUseCaches(false) on the underlying URL connection.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ldaley Luke Daley
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: