Quantcast
Channel: WordPress.org Forums » [W3 Total Cache] Support
Viewing all articles
Browse latest Browse all 19300

bsy-web on "[Plugin: W3 Total Cache] print media style sheet not getting minified"

$
0
0

I load CSS files on my site dynamically based on content being displayed (post, page, category, etc.). For this reason, none of my css files have import or link statements.

I notice, however, that the last CSS (one for print media specifically) never gets included in the minification. It is untouched.

Before minification turned on:

<head>
<meta charset="UTF-8">
<meta content="width=device-width" name="viewport">
<link href="http://site.local/wordpress/xmlrpc.php" rel="pingback">
<link href="http://site.local/wordpress/wp-content/themes/twentyelevenchild/style.css" media="all" type="text/css" rel="stylesheet">
<link href="http://site.local/wordpress/wp-content/themes/twentyelevenchild/css/category-world-yoga-convention.css" media="screen" type="text/css" rel="stylesheet">
<link href="http://site.local/wordpress/wp-content/themes/twentyelevenchild/css/print.css" media="print" type="text/css" rel="stylesheet">

After minification turn on:

<head>
<link media="all" href="http://site.local/wordpress/wp-content/cache/minify/000000/bYxBDsIwDMA-tCjbi1DIQtcpJKXNGP09FbtytGx5xjjFoovKW4y3rCu26CrT_Mdwa8gUkrx2OL3qCt0TAbuNJrLbtOD-OmRodlUqTcDhSZEZNactbtd8uejuHyh6tN_4Qca9kMVAV69DfgE.css" type="text/css" rel="stylesheet">
<meta charset="UTF-8">
<meta content="width=device-width" name="viewport">
<link href="http://site.local/wordpress/xmlrpc.php" rel="pingback">
<link href="http://site.local/wordpress/wp-content/themes/twentyelevenchild/css/print.css" media="print" type="text/css" rel="stylesheet">

I have tried the different "@import handling:" settings, and they all produce same results as above. "Combine only" does combine all CSS into single file.

Any ideas why this may be happening?

http://wordpress.org/plugins/w3-total-cache/


Viewing all articles
Browse latest Browse all 19300

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>