Google Closure is best in a situation where *all* the JavaScript that will
be part of the page is known statically; it goes beyond other minimizers in
that, if you follow certain rules, it can perform real optimizations, such
as dead-code analysis and function inlining.  It can work with a couple of
stable libraries outside its domain, as long as you tell it about them, but
doesn't fit well with non-aggregated modules loading dynamically ... that
defeats dead-code analysis, etc.


On Fri, Jan 17, 2014 at 3:06 AM, Thiago H de Paula Figueiredo <
thiag...@gmail.com> wrote:

> On Fri, 17 Jan 2014 07:12:14 -0200, Massimo Lusetti <mluse...@gmail.com>
> wrote:
>
>  BTW as a side note I'm not completely sure all these minimization and
>> concatenation are a good thing. Let's think about this a little bit more.
>>
>> Some resources may help:
>>
>> http://rubyrogues.com/135-rr-http-2-0-with-ilya-grigorik/
>>
>
> From Wikipedia: "HTTP 2.0 is the next planned version of the HTTP network
> protocol used by the World Wide Web.". That'll take some time until we can
> really assume most users are using it, maybe years. Regarding large files,
> I think that if you manage to make the browser cache the files and you
> don't change them much, that won't be a problem. Tapestry, with stacks,
> let's you choose what JS and CSS files will be bundled together. And, of
> course, JavaScript and CSS combination can be configured to be turned off.
> Regarding minimization, as long as the minimized version works in exactly
> the same way as the non-minimized version, and current minimizers do that,
> I can see no downside.
>
> --
> Thiago H. de Paula Figueiredo
> Tapestry, Java and Hibernate consultant and developer
> http://machina.com.br
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

Reply via email to