Multiple CSS files but one isn't minified

One of my customers website contains multiple stylesheets:

<link rel="stylesheet" type="text/css" href="./css/jquery.plugins.css?v=6.5.2">
<link rel="stylesheet" type="text/css" href="./css/jquery-ui-latest.css?v=6.5.2" media="all">
<link rel="stylesheet" type="text/css" href="./css/smartstore.core.css?v=6.5.2" media="all">
<link rel="stylesheet" type="text/css" href="./css/smartstore.containers.css?v=6.5.2" media="all">
<link rel="stylesheet" type="text/css" href="./css/smartstore.modules.css?v=6.5.2" media="all">
<link rel="stylesheet" type="text/css" href="./css/smartstore.widgets.css?v=6.5.2" media="all">
<link rel="stylesheet" type="text/css" href="./css/smartstore.theme.css?v=6.5.2" media="all">

I checked all of them and they are minified through CloudFlare except of this one:
https://www.sweating.com/css/smartstore.theme.css?v=6.5.2
2020-01-31 21_02_35

In the response header it says “minified” and “can not be optimized”:

cf-bgj: minify
cf-cache-status: HIT
cf-polished: status=cannot_optimize

What could be the reason for that?

Probably because it is not valid CSS and Cloudflare cant parse it.

https://jigsaw.w3.org/css-validator/validator?uri=https%3A%2F%2Fwww.sweating.com%2Fcss%2Fsmartstore.theme.css

Thank you. This makes sense. I’ll look into that and will give feedback.

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