Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to compress templates #38

Closed
jednano opened this issue Aug 7, 2013 · 2 comments
Closed

Option to compress templates #38

jednano opened this issue Aug 7, 2013 · 2 comments

Comments

@jednano
Copy link

jednano commented Aug 7, 2013

Can we get an option to compress the templates before they are stuffed into a string? This way, it gets rid of all the leading tabs/spaces leading up to the actual content. I realize some wouldn't want this feature, but I'm very interested in reducing our HTML footprint.

@jandillmann
Copy link

+1 for this. There should also be an option to remove HTML comments.

@dgeb
Copy link
Owner

dgeb commented Nov 4, 2013

Thanks to @timrwood, there's a new preprocess option which can be used to compress whitespace, remove html comments, etc. before templates are compiled.

@dgeb dgeb closed this as completed Nov 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants