Viewing 1 replies (of 1 total)
  • Plugin Author Raul P.

    (@alignak)

    Hi,

    The purpose for the plugin is to merge and minify css files and js files, not to eliminate render blocking (but there are options on the settings page for that).

    I suggest you read through the settings page and the help section:
    https://ww.wp.xz.cn/plugins/fast-velocity-minify/#faq

    Depending on how your google font is enqueued, you can select the option to inline google fonts and it will work.

    The external ajax.googleapis.com link, cannot be captured by the plugin, since it doesn’t merge external js / css files. The developers approach here, would be to dequeue it and enqueue a local copy of that file on the theme functions.php file… since that way, FVM would be able to merge it together.
    IE: https://premium.wpmudev.org/blog/adding-scripts-and-styles-wordpress-enqueueing/

    To eliminate render blocking of the css file, select the inline css option.
    To do the same for the js file, the advanced option for defer js (either for pagespeed insights, or for everyone) is what you need… however, like I said, this is an advanced option and in most cases, your theme and plugins “need” for the js to be render blocking (ex: it need to download and read jQuery, in order to show or hide specific sections on your page… and if you force it to be deferred, that functionality will break).

    Please read the faqs or get a designer to give you a hand with that.

Viewing 1 replies (of 1 total)

The topic ‘Render blocking JS and CSS: “above the fold”’ is closed to new replies.