Eliminate render-blocking JavaScript and CSS in above-the-fold content using ngx_pagespeed and varnish

April 10, 2018 70 views
Nginx

iam using Wordpress and file wp-includes/css/A.dashicons.min.css is Eliminate render-blocking JavaScript and CSS in above-the-fold content .i think caused by nginx or varnish but do not know what to do? . pls help me?

1 Answer

Nginx would not have anything to do with render blocking JavaScript and CSS since these things are rendered client side. This guide should help you to address the common causes of this type of render blocking with WordPress.

  • The problem is that Ngx_pagespeed does not like css that has an ID attribute and does not include its filter, though I've pointed it out:
      pagespeed PermitIdsForCssCombining * -css;
      But it does not work

Have another answer? Share your knowledge.