You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Ciro La Ferrara (JIRA)" <ji...@apache.org> on 2012/07/11 23:33:34 UTC

[jira] [Created] (CB-1034) Compress Javascript

Ciro La Ferrara created CB-1034:
-----------------------------------

             Summary: Compress Javascript
                 Key: CB-1034
                 URL: https://issues.apache.org/jira/browse/CB-1034
             Project: Apache Cordova
          Issue Type: Wish
            Reporter: Ciro La Ferrara


Why not release a compressed version of cordova? Ex: cordova-1.9.0-min.js

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-1034) Compress Javascript

Posted by "Ciro La Ferrara (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13412060#comment-13412060 ] 

Ciro La Ferrara commented on CB-1034:
-------------------------------------

I don't know. For many Javascript framework there is a zipped version. I think that is more fast for the webui. Is not?
                
> Compress Javascript
> -------------------
>
>                 Key: CB-1034
>                 URL: https://issues.apache.org/jira/browse/CB-1034
>             Project: Apache Cordova
>          Issue Type: Wish
>            Reporter: Ciro La Ferrara
>            Priority: Minor
>
> Why not release a compressed version of cordova? Ex: cordova-1.9.0.min.js

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-1034) Compress Javascript

Posted by "Jesse MacFadyen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13412064#comment-13412064 ] 

Jesse MacFadyen commented on CB-1034:
-------------------------------------

[~enigmista]
The frameworks you speak of are delivered over the network.
PKZipping the JS would be of little benefit, and actually slow the load time because it needs to be unzipped.

Removing whitespace can be of some benefit, in reducing file size, but I think this is best left as an exercise of the developer. You are welcome to use YUI compressor, JSMin, or Closure, on all your js files if you like.


                
> Compress Javascript
> -------------------
>
>                 Key: CB-1034
>                 URL: https://issues.apache.org/jira/browse/CB-1034
>             Project: Apache Cordova
>          Issue Type: Wish
>            Reporter: Ciro La Ferrara
>            Priority: Minor
>
> Why not release a compressed version of cordova? Ex: cordova-1.9.0.min.js

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CB-1034) Compress Javascript

Posted by "Patrick Mueller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Mueller resolved CB-1034.
---------------------------------

    Resolution: Not A Problem
    
> Compress Javascript
> -------------------
>
>                 Key: CB-1034
>                 URL: https://issues.apache.org/jira/browse/CB-1034
>             Project: Apache Cordova
>          Issue Type: Wish
>            Reporter: Ciro La Ferrara
>            Priority: Minor
>
> Why not release a compressed version of cordova? Ex: cordova-1.9.0.min.js

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CB-1034) Compress Javascript

Posted by "Ciro La Ferrara (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ciro La Ferrara updated CB-1034:
--------------------------------

       Priority: Minor  (was: Major)
    Description: Why not release a compressed version of cordova? Ex: cordova-1.9.0.min.js  (was: Why not release a compressed version of cordova? Ex: cordova-1.9.0-min.js)
    
> Compress Javascript
> -------------------
>
>                 Key: CB-1034
>                 URL: https://issues.apache.org/jira/browse/CB-1034
>             Project: Apache Cordova
>          Issue Type: Wish
>            Reporter: Ciro La Ferrara
>            Priority: Minor
>
> Why not release a compressed version of cordova? Ex: cordova-1.9.0.min.js

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-1034) Compress Javascript

Posted by "Patrick Mueller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13412051#comment-13412051 ] 

Patrick Mueller commented on CB-1034:
-------------------------------------

I guess one question is *why* release a compressed version of cordova?

Loads faster?  Less space used on disk?

Prove it, let's see some numbers.  

Does it even make sense to min-ize *just* our JS?  If there are savings with just our JS, there's probably savings if the user's JS and HTML and CSS are also min-ized.

Note, I'm not against it, but if it doesn't help anything thing, why do it?

                
> Compress Javascript
> -------------------
>
>                 Key: CB-1034
>                 URL: https://issues.apache.org/jira/browse/CB-1034
>             Project: Apache Cordova
>          Issue Type: Wish
>            Reporter: Ciro La Ferrara
>            Priority: Minor
>
> Why not release a compressed version of cordova? Ex: cordova-1.9.0.min.js

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira