Hello.
I'm trying to find a way to minify our HTML for a project, and I am not sure what is the best way to go about it. From what I can find the best option seems to be through the OnOutput notification, where I can minify the template HTML field. However, this could also have cshtml, and removing the whitespace breaks the template output generation. Is there a hook that you know of that I can use to get the generated output for the page and minify that before sending out to the client?
Thanks.
Marco Santos