XF 2.0 Minify?

Then why it's listed under "Defer unused CSS" aand also under "Eliminate render-blocking resources "?
Because a) the CSS contains unused rules (this is always the case unless you take a lot of effort to optimize CSS for every singe page) and b) external CSS always blocks rendering.

You might waht to ake a look at tools like ngx_pagspeed/mod_pagespeed which do help to optimize CSS.

Though, as aid, the CSS is already minified.
 
The full explanation of Eliminate render-blocking resources mentions:
...deferring all non-critical JS/styles
We wouldn't put JS or CSS code where it isn't necessary to. We put a very small amount of JS in the header because it needs to be available at the start of the document.

The CSS is where it is because you really wouldn't want your users to be using a site where the CSS is deferred to the footer. Your pages would look terrible until almost everything had finished loading.
 
The full explanation of Eliminate render-blocking resources mentions:

We wouldn't put JS or CSS code where it isn't necessary to. We put a very small amount of JS in the header because it needs to be available at the start of the document.

The CSS is where it is because you really wouldn't want your users to be using a site where the CSS is deferred to the footer. Your pages would look terrible until almost everything had finished loading.

Thanks for the information, Chris. Will mod_pagespeed really help with that?
 
Top Bottom