Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-6670

Minified resources and JavaScript compression don't play well together

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 8.4.0
    • None
    • wicket-core
    • None

    Description

      I switched my application from on-the-fly compression of resources to minifying resources during the Maven build.

      Previously, I had useMinifiedResources disabled. When I enabled the flag, I noticed that Wicket correctly serves the minified resource, but still compresses the original JS.

      This makes no sense to me.

      The behavior can be reproduced with the attached quickstart. Just open the homepage and check the error logs. The compressor is called for the unminified resource although Wicket serves the minified version.

      Attachments

        1. myproject.zip
          27 kB
          Thomas Heigl

        Issue Links

          Activity

            People

              Unassigned Unassigned
              thomas.heigl Thomas Heigl
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: