Re: CSS files are not combined into one single file

2020-06-19 Thread Carlos Montero Canabal
Hi Dongmei,

I wrote some years ago a mini post about it:
http://tapestry5.dev-util.com/optimization/cssstack

In the example you can see how to create the css stack by maven plugin or,
(my preferred option) by less file. You only have to create a new less file
and import into them all css or less files. For developing (not
production), I always put an If to import the individual files or the stack
to identify the line better when I play with the devtools.

Regards

Carlos Montero

El vie., 19 jun. 2020 a las 3:24, Dongmei Cao ()
escribió:

> Hi Everyone,
>
>
>
> I’m trying to improve the initial loading time of my application. I
> noticed that the CSS files are loaded by one by one. Currently I see 5 CSS
> files from tapestry5, plus a few more from my own application.
>
>
>
> I have upgraded to Tapestry 5.5.0. Per
> https://tapestry.apache.org/assets.html, I have added the following
> dependency
>
>
>
> 
>
> org.apache.tapestry
>
> tapestry-webresources
>
> 5.5.0
>
> 
>
>
>
> And have also configured SymbolConstants.MINIFICATION_ENABLED, "true". I
> can see the CSS files have been minimized. But they are not combined into
> one. Does anyone know what to configure so that the CSS files will be
> combined into one single file?
>
>
>
> Thanks in advance!!
>
> Dongmei
>


CSS files are not combined into one single file

2020-06-18 Thread Dongmei Cao
Hi Everyone,

 

I’m trying to improve the initial loading time of my application. I noticed 
that the CSS files are loaded by one by one. Currently I see 5 CSS files from 
tapestry5, plus a few more from my own application. 

 

I have upgraded to Tapestry 5.5.0. Per https://tapestry.apache.org/assets.html, 
I have added the following dependency

 



    org.apache.tapestry

    tapestry-webresources

    5.5.0

  

 

And have also configured SymbolConstants.MINIFICATION_ENABLED, "true". I can 
see the CSS files have been minimized. But they are not combined into one. Does 
anyone know what to configure so that the CSS files will be combined into one 
single file?

 

Thanks in advance!!

Dongmei



smime.p7s
Description: S/MIME cryptographic signature