I intend to compress/Minfy my HTML output so that the html size becomes less which increases the performance .
eg : view-source:https://docs.adobe.com/content/help/en/experience-manager-dispatcher/using/getting-start...
lots of white space if you see the source code .
The following document may be helpful:
Try rebuilding the clientlibs via File System, as per: https://helpx.adobe.com/ca/experience-manager/kb/How-to-force-a-recompilation-of-all-Sling-scripts-j...
* Moreover, what kind of errors do you see in the error.log file?