You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Peter Hvass <P....@albourne.com> on 2013/09/30 14:48:22 UTC
[5.4] LESS/Coffee to CSS/JS During Build Instead of First Access
Hello,
We were wondering if there is any way in production mode for us to allow LESS and CoffeeScript to be
processed during building of the application rather than upon first access of the site.
It's a very busy live site and we're noticing a fairly heavy load when everyone hits for the first time after
each patch when these assets are not ready.
Thanks again,
Peter
Re: [5.4] LESS/Coffee to CSS/JS During Build Instead of First Access
Posted by Howard Lewis Ship <hl...@gmail.com>.
The WRO4J project includes plugins for Maven that allow you to do the same
conversions at runtime; the CoffeeScript compiler will even use the node
version of CoffeeScript for much faster compilation.
In an ideal world, you could use runtime compilation in development and
pre-compilation for production; I'm sure there's some way to juggle things
to make that happen, but its very much a build-centric issue, outside the
scope of Tapestry.
On Mon, Sep 30, 2013 at 5:48 AM, Peter Hvass <P....@albourne.com> wrote:
> Hello,
>
>
> We were wondering if there is any way in production mode for us to allow
> LESS and CoffeeScript to be
> processed during building of the application rather than upon first access
> of the site.
>
>
> It's a very busy live site and we're noticing a fairly heavy load when
> everyone hits for the first time after
> each patch when these assets are not ready.
>
>
> Thanks again,
> Peter
>
>
>
>
--
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