Minification and concatenation of CSS and Javascript (with Plack?)

Mark Stringer mark at
Mon Nov 25 10:21:44 GMT 2013

We use Plack::Builder to create separate apps. The static dir 
(containing CSS, JS, Images) is mounted using Plack::App::MCCS. The 
dynamic content is mounted using Plack::Middleware::TemplateToolkit (but 
could equally be Catalyst, Dancer, etc), with ConditionalGET, ETag, etc 

I haven't tried combining dynamic content and P::A::MCCS.

On 11/23/2013 11:47 PM, Pierre M wrote:
>> does the exemple in the docs, or t/basic.t in the distribution not point
> you in the right direction?  Is there something missing from the docs that
> is causing you pain?
> Haha! I'm remembering now what I thought last week: my files are not all in
> the same folder, so I have to list them all first. I had tried <**/*.css>
> and the wildcard didn't work; I left that in the code last week, and this
> week assumed it did work. Sorry for a question whose answer I had.
> Plack::App::MCCS <> seems good.
> How to you use it with a Dancer2 app? (what is $app in the case of a
> Dancer2 app?)

More information about the mailing list