• Resolved Irina ????

    (@irinashl)


    Version 3.2.1 [2021.05.07] no longer optimizes JS files?

    There was a warning in PSI “Eliminate render-blocking resources” (/wp-includes/js/jquery/jquery.min.js).

    Thank you!

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

    (@alignak)

    Eliminate render-blocking resources depends on the settings and how your site works.

    Check your settings and see where are you adding /wp-includes/js/jquery/jquery.min.js
    If you do not have any reference to it, or a broader match, it will leave it alone.
    If you have added it to the render block section, then of course, it will be render blocking. The recommended defaults, is to load it render blocking.
    Refer to the HELP tab on wp-admin for more information.

    Also note that most sites cannot defer jQuery, so if you try forcing it to be deferred, your inline scripts that rely on jQuery will break. You can try to defer the inline scripts too, but you have to measure.

    If a site requires jQuery to show a slider for example, deferring is actually slowing it down.

    Thread Starter Irina ????

    (@irinashl)

    Sorry, but something is wrong …
    v.3.2.0 handles files in /wp-content/uploads/fvm-cache/min/*.js and * .css (eg 1620545104-js0b5db1dc8f986ad8ec73080a695927487e067df4f2f051f7675d083819164c.js)

    and in v.3.2.1 in /wp-content/cache/fvm/min/ there are no * .js files, but only * .css files (for example, 1620545262-css30b080fcb4eabd717e814ad5009ffa09a54cd884dddcd714933b81f102ab9.css)

    my settings:
    Enable JS Processing: yes
    Render Blocking JS files:
    /jquery.min.js
    /jquery-migrate.min.js
    /wp-content/plugins/perfmatters/js/lazyload.min.js
    Defer JS Files:
    / wp-admin /
    / wp-content /
    / wp-includes /

    Thank you!

    Plugin Author Raul P.

    (@alignak)

    Thanks for reporting, this is fixed on 3.2.2. Sorry about that.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘JS files are not optimized’ is closed to new replies.