Hi @2shrestha22
Thank you for using the defer.js plugin and for leaving your comments. Regarding the problem you have encountered, it is difficult for me to visualize and provide a reasonable solution to support you to solve it.
By default, even you dont enable HTML minify, but by turning on other optimizations (such as meta tag optimizations), the HTML parser will optiomize your HTML document, except the main content.
May I have more detailed information about your error case?
Regards
Tan
I have disabled all setting and only enabled for js and css. But every time it minimizes html and all comments are gone.
@2shrestha22
My plugin will remove HTML comments by default when refactoring HTML tags, and DOM trees. Therefore, you will feel like HTML is being minimized. If deleting comments makes your website not working properly, please show me the special comments your website is using.
Maybe I’ll think of ways to improve it, and respond to you later.