Does cloudflare minifying SVG?

I have a lot of svg files with comments for for convenience. Does cloudflare auto remove comments spaces etc from svg files while caching them?

That’s a great question. Is your site on Cloudflare right now? I’d love to test that out if you could provide a URL.

site - https://bronehata.com.ua/ru/services/ustanovka-i-zamena-zamkov
favicon.svg - https://bronehata.com.ua/wp-content/themes/bronehata/img/favicon.svg?v=prod

in code viewer I can see that code is not minified. Maybe there is some settings I should change for that?

That’s definitely not minified. Have you tried enabling Brotli?

Yep

That’s weird, because I’m not seeing a Brotli or Gzip header on that file.
You’ve set vary: to Accept Encoding, so it should work.

Maybe Support can check it out. Let us know what they say.

Login to Cloudflare and then contact Cloudflare Support by clicking on the Get More Help button.

1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.