You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, I would like to thank you for such a great project!
I've got idea for small improvement: currently html produced by templates contains all whitespaces that where present in template, making it 2-3 times bigger than actual content. Idea is to introduce configuration option that will strip those whitespaces.
Removing them from template source is not an option as they are used as part of code stile, and sometimes simplify debug process, but in our production environment we have no way to compress traffic and thus 60% of our traffic are whitespaces.
This could be done in compile phase in prod mode, or just controlled by configuration option.
The text was updated successfully, but these errors were encountered:
I can embed an html compressor in japid, such as http://code.google.com/p/htmlcompressor/. But I'm a little curious why white space takes so much space in the output in your cases. Usually it takes additional 20 percent.
First of all, I would like to thank you for such a great project!
I've got idea for small improvement: currently html produced by templates contains all whitespaces that where present in template, making it 2-3 times bigger than actual content. Idea is to introduce configuration option that will strip those whitespaces.
Removing them from template source is not an option as they are used as part of code stile, and sometimes simplify debug process, but in our production environment we have no way to compress traffic and thus 60% of our traffic are whitespaces.
This could be done in compile phase in prod mode, or just controlled by configuration option.
The text was updated successfully, but these errors were encountered: