tried with https://pypi.python.org/pypi/htmlmin/0.1.5 and worked fine
On Thursday, 27 October 2011 14:59:30 UTC+1, Anthony wrote:
>
> If you have a function that does the compressing, I suppose you could do
> something like:
>
> def my_action():
> [some code]
> d = dict(...)
> return
If you have a function that does the compressing, I suppose you could do
something like:
def my_action():
[some code]
d = dict(...)
return compress_html(response.render(d))
Anthony
On Thursday, October 27, 2011 9:40:30 AM UTC-4, Marco Tulio wrote:
>
> like the uglifier on Ruby?
>
>
like the uglifier on Ruby?
2011/10/21 Farsheed Ashouri
> Is it possible to compress the output html before rendering out? I mean
> using tools like compressors or tiddy to clean/compress the output code
> automatically on output not on our source.
>
>
--
[]'s
Marco Tulio
Is it possible to compress the output html before rendering out? I mean
using tools like compressors or tiddy to clean/compress the output code
automatically on output not on our source.
4 matches
Mail list logo