Wordpress LScache Plugin: HTML minify problem
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hello, I have a problem with HTML minify option and Astra theme. When I activate the HTML minify blog archive layout it breaks. You can look at (Report number:AJADDKFO) Same category with HTML minify ? /category-1/ Same category without HTML minify ? /category-2/ Best regards, Vesela Hi @beddingeu, I believe the layout different is because of CSS combine, can you try to turn CSS combine [OFF] and left HTML minify [ON] to confirm? Hello, Thanks for a fast reply. I turned off all except minify options and problem still appear. Something gets wrong with the HTML minification. You can view a screenshot of source code ? here. I tried all other options one by one, and the only HTML minify broke the layout. Best regards. Hi @beddingeu, we find there are two inline CSS error on the non-minify page: https://validator.w3.org/nu/?doc=https%3A%2F%2Fiiyama-bg.com%2Fcategory-2%2F Could you try to remove that error and purge the cache again to see does it work? Hello, I removed inline CSS errors, but nothing changes. HI @beddingeu, we successfully reproduced the issue and checking on it now, will let you know when we find out the reason. Hi @beddingeu, On the non-minified source code /category-2/ row 139, 167 and 195, the tag has an empty line on next row, which make our HTML Minify engine cannot recognize the class is for the tag and combined them as the same string. Can you try to remove the space manually? We will try to investigate why it doesnt minify correctly but the engine might not update soon, please fix it by removing the space temporarily. Thanks. Thank you for your support. I will contact Astra support team to fix that.
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference