5 messages in com.googlegroups.pylons-discussRe: Templatizing javascripts
FromSent OnAttachments
iwuv...@public.gmane.org14 Dec 2007 10:35 
Matt Feifarek14 Dec 2007 14:16 
Mike Orr14 Dec 2007 14:26 
iwuv...@public.gmane.org15 Dec 2007 05:52 
Marcin Kasperski17 Dec 2007 03:18 
Subject:Re: Templatizing javascripts
From:Marcin Kasperski (Marc@public.gmane.org)
Date:12/17/2007 03:18:20 AM
List:com.googlegroups.pylons-discuss

Mako can make any kind of text document; not just html.

I use it to make CSS, JS too.

The tradeoff is you can't put the template in your public directory or have Apache serve it.

Well, depends. I am just considering the solution in which I would build CSS and JS from mako templates during application startup (and save them in public directory just then).

Using caching reverse-proxy (and setting caching headers) is another possibility.