Hello, I had HTML Auto Minify turned on in my Cloudflare panel. But HTML minify is not working. Why is this not working?
Css and js files have been minified successfully. But the HTML is not minified. Here is the domain: www.eayazilim.net.tr
Your HTML code appears to be minified. Cloudflare won’t drop new-lines, though.
$ curl https://www.eayazilim.net.tr | grep charset <meta charset="utf-8">
against the original one
$ curl https://www.eayazilim.net.tr --connect-to ::SERVER | grep charset <meta charset="utf-8">
I couldn’t understand what this is. I don’t know much about curl, sandro When I look at my website with view-source, I can’t see that the HTML has been shrunk.
I am afraid that’s not correct. Cloudflare dropped all whitespace, except for new-lines.
You might be connecting to the server instead of Cloudflare.
What’s the output of these commands?
ping eayazilim.net.tr ping www.eayazilim.net.tr
Oh right. The server IP address appears in my hosts file. I’ve just corrected. But as I said why doesn’t it shrink in one line.
Because that’s not how it works. Refer to the posted link.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.