[
https://issues.apache.org/jira/browse/TAP5-73?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659442#action_12659442
]
Martin Reurings commented on TAP5-73:
-------------------------------------
Much more important than how far in the future the cache date is, what will the
uri of the resource be? If every page will have a unique uri for its' combined
Javascripts the client will suddenly have to download prototype, scriptaculous
and tapestry js-files for every page instead of just once for the entire
application.
I suppose I'm just very paranoid about the possible pitfalls and I'll just have
to see what you come up with :)
> 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
>
> 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.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]