I know there are lots of frameworks that do this, the problem is those frameworks are not as fast as a webserver is doing this job, i've been using the strip module in nginx and it's so much faster than doing so in PHP.
On Thu, Feb 19, 2009 at 3:00 PM, Oli Warner <[email protected]> wrote: > Really? Lots of frameworks have this (or at least the power to)... I know, > for one, Django has this ability. > > The tough part is detecting whitespace between (or inside HTML tags) and > when it's rendered or not. > > But returning to my point, and not that this is my decision, but I don't > think this something for the webserver to be doing. I reckon you should > leave content generation to the web applications and leave performance and > concurrency to the web server. > > Discuss. > > > > On Thu, 2009-02-19 at 14:44 -0600, Jordi Adame wrote: > > Hi, > > I don't know if anyone has already proposed this idea, but here it comes. > > > A strip module that enables cherokee to strip white spaces and new lines > from HTML and JS. > > cheers > > -- > Jordi Adame > www.golst.com > > Astrata > 044 5512955173 > +52 (55) 21672101 > http://www.astrata.com.mx > > _______________________________________________ > Cherokee mailing > [email protected]http://lists.octality.com/listinfo/cherokee > > -- Jordi Adame www.golst.com Astrata 044 5512955173 +52 (55) 21672101 http://www.astrata.com.mx
_______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
