-
Notifications
You must be signed in to change notification settings - Fork 421
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
HTML Minify cache template #355
Comments
Unfortunately it's probably not possible to solve in a general case. Mustache templates usually aren't valid HTML, so any minification will likely break :-/ |
But if we allow that, it's non-deterministic and we can't guarantee the sanity of the cache. If you want to do something like this, a good place to do it would probably be in a custom loader. |
Thank u. |
I was found a very simple solution.
on
I added only trim function, and got minify html. PS: If this solution will be test OK, your will maybe added this option? |
How about make minify cache template
how like this https://github.com/jenstornell/tiny-html-minifier
possible?
The text was updated successfully, but these errors were encountered: