You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Thomas Heigl (JIRA)" <ji...@apache.org> on 2019/05/26 09:45:00 UTC
[jira] [Created] (WICKET-6670) Minified resources and JavaScript
compression don't play well together
Thomas Heigl created WICKET-6670:
------------------------------------
Summary: Minified resources and JavaScript compression don't play well together
Key: WICKET-6670
URL: https://issues.apache.org/jira/browse/WICKET-6670
Project: Wicket
Issue Type: Bug
Components: wicket-core
Affects Versions: 8.4.0
Reporter: Thomas Heigl
Attachments: myproject.zip
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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)