Re: Compressing templates

2009-03-20 Thread Alex Gaynor
On Fri, Mar 20, 2009 at 9:22 PM, chachra wrote: > > Excellent. This would work. Except that this work would have to be > done on every page load, unless template (pre-rendered versions) get > cached? > > Thanks! > > > On Mar 20, 5:30 pm, Alex Gaynor wrote: > > On Fri, Mar 20, 2009 at 8:28 PM, ch

Re: Compressing templates

2009-03-20 Thread chachra
Excellent. This would work. Except that this work would have to be done on every page load, unless template (pre-rendered versions) get cached? Thanks! On Mar 20, 5:30 pm, Alex Gaynor wrote: > On Fri, Mar 20, 2009 at 8:28 PM, chachra wrote: > > > Agreed. I was just wondering if people using D

Re: Compressing templates

2009-03-20 Thread Alex Gaynor
On Fri, Mar 20, 2009 at 8:28 PM, chachra wrote: > > Agreed. I was just wondering if people using Django do this often, and > if there is a "django way" of doing it! > > I have the fabric bit working, albeit serially. But looking at some > library to compress html templates, before launching new c

Re: Compressing templates

2009-03-20 Thread chachra
Agreed. I was just wondering if people using Django do this often, and if there is a "django way" of doing it! I have the fabric bit working, albeit serially. But looking at some library to compress html templates, before launching new code. Thanks! On Mar 20, 4:23 pm, Alex Gaynor wrote: > On

Re: Compressing templates

2009-03-20 Thread Alex Gaynor
On Fri, Mar 20, 2009 at 7:19 PM, chachra wrote: > > Hi, > > Sorry if this has been discussed before. I am minifying my js/css > using a simply python script + yui compressor. > > I would like to write a "deploy script" that takes all my code + > removes all white spaces, newlines etc. from all my

Compressing templates

2009-03-20 Thread chachra
Hi, Sorry if this has been discussed before. I am minifying my js/css using a simply python script + yui compressor. I would like to write a "deploy script" that takes all my code + removes all white spaces, newlines etc. from all my template (.html) files. This should help improve page loads +