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

Minified css/js gets compressed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.8.0
    • 6.10.0, 7.0.0-M1
    • wicket
    • None

    Description

      Given an application with a resource reference to a minified script, i.e. html5.js and html5.min.js.

      When the ResourceRequestHandler responds
      it will set compress to false, if the resource reference was PackageResourceReference
      but it will not change compression if the resource reference was JavaScriptResourceReference.

      PackageResourceReference handles minified resources more or less correctly (if they are minified, they should not be further compressed), but this behavior is overwritten in its subclasses.

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            johannes.odland@gmail.com Johannes Odland
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: