You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Cedric Gatay (JIRA)" <ji...@apache.org> on 2013/06/25 21:52:20 UTC

[jira] [Comment Edited] (WICKET-5250) Minified css/js gets compressed

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

Cedric Gatay edited comment on WICKET-5250 at 6/25/13 7:52 PM:
---------------------------------------------------------------

Hi,
can you provide a quickstart for this one please (by digging in the code I see no reason for what you describe) ?

Thanks
                
      was (Author: cedricgatay):
    Hi,
can you provide a quickstart for this one please ?

Thanks
                  
> Minified css/js gets compressed
> -------------------------------
>
>                 Key: WICKET-5250
>                 URL: https://issues.apache.org/jira/browse/WICKET-5250
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.8.0
>            Reporter: Johannes Odland
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira