Re: [Cppcms-users] No "\n" on compiled templates
Brought to you by:
artyom-beilis
From: Lee E. <lee...@gm...> - 2012-11-08 21:34:01
|
I wonder why you would want something like this, and the only option i have in mind is to have the app deliver a "minified" html output to the clients. sadly introducing something like this into the template mechanism can break the ability to render different content types using the same mechanism (consider an app that render html responses, but also uses the same template mechanism to generate text only emails (where \n are important) i think that the correct way to do it is to provide some way to install a filter on the output stream - so it will skip over the characters that can be minified On Thu, Nov 8, 2012 at 2:46 PM, Daniel Rios <dan...@li...> wrote: > Hello there ! There's a way to compile a template using without the "\n" > character? > > Thanks ! > > Daniel > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_nov > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > -- -- lee Lee Elenbaas lee...@gm... |