Quantcast
Channel: WordPress.org Forums » [Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score] Support
Viewing all articles
Browse latest Browse all 38

[NSFW] Enabling “Minify HTML” has no effect

$
0
0

Replies: 5

Again, thanks for your great plugin.

When I enable “Minify HTML” in basic settings, it has no effect. HTML is not minified. However, when I enable that setting and “Optimize HTML via Dom Parser – Improves HTML minification efficiency.” then minification works, but the HTML seems a bit off when using the DOM parser.

For instance, the closing </body> and </html> tag are removed. I’d prefer the non-DOM parser implementation anyway (at least to compare against).

BTW, whichever minify method is used, could you please append the HTML powered by comment at the end so that it’s possible to tell if Powered Cache’s caching is active on that page. Maybe a more concise one-liner, like the following:

</body></html><!-- Cache served by Powered Cache, Last modified: Fri, 03 May 2024 01:57:08 GMT -->

Testing on Windows dev machine, WordPress 6.5.2, Powered Cache 3.4.4, PHP 8.1.

Thanks.


Viewing all articles
Browse latest Browse all 38

Trending Articles