It's tapestry-webresources (
http://repo1.maven.org/maven2/org/apache/tapestry/tapestry-webresources/).

Kalle

On Thu, Nov 13, 2014 at 10:42 AM, George Christman <gchrist...@cardaddy.com>
wrote:

> Thanks Thiago.
>
> On Thu, Nov 13, 2014 at 1:37 PM, Thiago H de Paula Figueiredo <
> thiag...@gmail.com> wrote:
>
> > On Thu, 13 Nov 2014 16:28:01 -0200, George Christman <
> > gchrist...@cardaddy.com> wrote:
> >
> >  How do I minify tapestry's JS and CSS? Google is complaining saying that
> >> 62.3kib 50% could be saved with the core js alone. It also says
> something
> >> about optimizing css delivery and points to all the tapestry's css.
> >>
> >
> > Check the Minimizing Assets section at the bottom of
> > http://tapestry.apache.org/assets.html. Basically, add the
> > tapestry-web-resources dependency (Maven snippet below) and set the
> > SymbolConstants.MINIFICATION_ENABLED symbol to true.
> >
> > <dependency>
> >     <groupId>org.apache.tapestry</groupId>
> >     <artifactId>tapestry-web-resources</artifactId>
> >     <version>5.4</version>
> > </dependency>
> >
> > @Contribute(SymbolProvider.class)
> > @ApplicationDefaults
> > public static void
> contributeApplicationDefaults(MappedConfiguration<String,
> > String> configuration) {
> >     configuration.add(SymbolConstants.MINIFICATION_ENABLED, "true");
> > }
> >
> > --
> > 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
> >
> >
>
>
> --
> George Christman
> CEO
> www.CarDaddy.com
> P.O. Box 735
> Johnstown, New York
>

Reply via email to