locked
How to minify whole html from mvc RRS feed

  • Question

  • User-454825017 posted

    please see this site view-source:https://www.pinterest.com/pin/517210338432366716/

    go to view page source from browser. you notice their html is probably minified. i just do not understand how they compose their html?

    please guide me is it possible in asp.net mvc to minify html with white space removed ? most of the web site content comes from db and html is not static.

    why many site minify their html? is that has any advantage ? because i write routine which minify html that will be invoke for every request and that may slow down the page request execution when there will be huge request comes for a site.

    how efficiently minify html from asp.net mvc ? which library i should use ?

    please guide me. thanks

    Saturday, July 11, 2020 12:00 PM

Answers

All replies