You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Korbinian Bachl (JIRA)" <ji...@apache.org> on 2017/11/10 15:33:00 UTC

[jira] [Comment Edited] (WICKET-6492) javascript files are not minified in deployment mode and not united

    [ https://issues.apache.org/jira/browse/WICKET-6492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16247643#comment-16247643 ] 

Korbinian Bachl edited comment on WICKET-6492 at 11/10/17 3:32 PM:
-------------------------------------------------------------------

Hello Maxim, Sven;

it is not tied to the development mode as we have this in production as well, see:

https://www.whiskyworld.de/wicket/resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-event-jquery-ver-E34C6FE16C54FE3DF3591290A48A496A.js
https://www.whiskyworld.de/wicket/resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-ver-F8010FEDC5FD9B05434A6023763E3050.js

while jquery itself is minified:
https://www.whiskyworld.de/wicket/resource/org.apache.wicket.resource.JQueryResourceReference/jquery/jquery-2.2.4-ver-F9EE266EF993962AD59E804AD9DEBE66.js

its 8.0.0 M8 in deployment mode;

Sven - are there any special  maven commands you use to have these minified???




was (Author: kbachl):
Hello Maxim, Sven;

it is not tied to the developement mode as we have this in production as well, see:

https://www.whiskyworld.de/wicket/resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-event-jquery-ver-E34C6FE16C54FE3DF3591290A48A496A.js
https://www.whiskyworld.de/wicket/resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-ver-F8010FEDC5FD9B05434A6023763E3050.js

while jquery itself is minified:
https://www.whiskyworld.de/wicket/resource/org.apache.wicket.resource.JQueryResourceReference/jquery/jquery-2.2.4-ver-F9EE266EF993962AD59E804AD9DEBE66.js

its 8.0.0 M8 in deployment mode;

Sven - are there any special  maven commands you use to have these minified???



> javascript files are not minified in deployment mode and not united
> -------------------------------------------------------------------
>
>                 Key: WICKET-6492
>                 URL: https://issues.apache.org/jira/browse/WICKET-6492
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 8.0.0-M8
>            Reporter: Korbinian Bachl
>
> e.g.: go on http://examples8x.wicket.apache.org/wicket-examples/ajax/lazy-loading?1
> if you open in the chrome dev tools you see that the jquery is minified, while 
> http://examples8x.wicket.apache.org/wicket-examples/ajax/wicket/resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-event-jquery-ver-E34C6FE16C54FE3DF3591290A48A496A.js
> and
> http://examples8x.wicket.apache.org/wicket-examples/ajax/wicket/resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-ver-F8010FEDC5FD9B05434A6023763E3050.js
> arent;
> Also both files should be united together in a single delivery as having a 2kb + 12kb files needing 2 requests is IMHO too much....



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)