Re: [web2py] Is it possible to compress the output html before rendering out?

2014-09-11 Thread Francisco Costa
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

Re: [web2py] Is it possible to compress the output html before rendering out?

2011-10-27 Thread Anthony
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? > >

Re: [web2py] Is it possible to compress the output html before rendering out?

2011-10-27 Thread Marco Tulio Cicero de M. Porto
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

[web2py] Is it possible to compress the output html before rendering out?

2011-10-21 Thread 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.