You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2011/04/01 02:02:06 UTC

[jira] [Commented] (TAP5-73) JavaScript libraries should be automatically packed/minimalized

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

Hudson commented on TAP5-73:
----------------------------

Integrated in tapestry-5.2-freestyle #300 (See [https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/300/])
    TAP5-73: Patch together a Maven POM for tapestry-yuicompressor project
TAP5-73: Add support for CSS minification
TAP5-73: Add missing @since documentation
TAP5-73: Turn off line breaks in the minimized JavaScript for a slight reduction in the size of the output
TAP5-73: Refactor out a base class for implementing minimizers
TAP5-73: Add license file for tapestry-yuicompressor, and add dependencies licences to NOTICE.txt
TAP5-73: Add basic tests to demonstrate compression of JavaScript stacks and individual JavaScript files
TAP5-73: Fix logic for when to cache results to cache always when NOT aggregating
TAP5-73: Add a test application to demonstrate minification
TAP5-73: Make the contribution method public, so that it is actually picked up
TAP5-73: Refactor the execution time logging
TAP5-73: Initial pass at code for JavaScript compression
TAP5-73: Flesh out documentation of ResourceTransformer
TAP5-73: Remove unused import
TAP5-73: Improve documentation of IOOperation
TAP5-73: Change a couple of asset-related services to track their IOOperations
TAP5-73: Add a method to StreamableResource to allow access to the underlying InputStream for the resource's content
TAP5-73: Add an IOOperation interface (like Runnable, but throws IOException) and a utility method to execute such an operation with an OperationTracker
TAP5-73: Add empty tapestry-yuicompressor module


> JavaScript libraries should be automatically packed/minimalized
> ---------------------------------------------------------------
>
>                 Key: TAP5-73
>                 URL: https://issues.apache.org/jira/browse/TAP5-73
>             Project: Tapestry 5
>          Issue Type: New Feature
>    Affects Versions: 5.0.15
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.3.0
>
>
> Tapestry should catch downloads of JavaScript libraries, and should "pack" the JavaScript ... remove comments and unecessary whitespace.  I believe Dojo has a library to do this, it may even shorten variable names (!).
> A smart implementation of this would manage to cache the compressed JS, and notice when the uncompressed version changed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira