• Resolved dxzz

    (@dxzz)


    Hi there, we are currently updating our website at the moment on a test site (once we are happy we upload the changes to the main one). On our GTMetrix score it keeps stating that wp-content/cache/autoptimize/js/autoptimize…js needs minifying however i’ve minified all documents through hummingbird?

    Is there any support? I would like to keep the site private as it’s not open for public use.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    Given Autoptimize does CSS/ JS optimization (incl. minification) you should leave those optoins off in Hummingbird to avoid conflicts dxzz. If GTmetrix keeps complaining we can see what the next steps/ explanation should be.

    Thread Starter dxzz

    (@dxzz)

    How should i go about resolving this? Will i have to disable hummingbird? We also use other plugins as well W3 Total Cache & WP Fastest Cache. I assume they may conflict with one another too?

    • This reply was modified 6 years, 1 month ago by dxzz.
    • This reply was modified 6 years, 1 month ago by dxzz.
    Thread Starter dxzz

    (@dxzz)

    Update: I have removed the other plugins except hummingbird (deactivated currently) and now i am using WP Super Cache and Autoptimize.

    I am still having the same message appear on GTMetrix.

    On Google PageSpeed Insight this appears under Serve static assets with an efficient cache policy:
    …js/autoptimize_d076216….js
    …css/autoptimize_e286a34….css

    Minify JS:
    …js/autoptimize_d076216….js

    Under eliminate render blocking:
    …css/autoptimize_e286a34….css(test.docere.co.uk)
    …css/autoptimize_single_a64ac5e….css(test.docere.co.uk)
    …css/dashicons.min.css

    Any guidance and clearance on how to resolve the issues is appreciated.

    • This reply was modified 6 years, 1 month ago by dxzz.
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, so for cache policy either configure your webserver (https://varvy.com/pagespeed/cache-control.html) or untick the “static files” option on AO’s main settings page.

    for eliminate render-blocking; look into “inline & defer CSS”, see AO FAQ for more info.

    for minify JS; would have to see the file somehow to comment, but what might be happening is that there are JS-files which claim to be minified (filename ending in min.js) upon which AO does not (re-)minify them. Additionally AO does not remove “important” comments, which generally hold copyright information.

    hope this helps,
    frank

    Thread Starter dxzz

    (@dxzz)

    Hi Frank thanks for your reply. Unticking the options leads to my website breaking. Maybe configuring the webserver be our best option?

    Our page is pretty large do you recommend doing this option?

    I can privately message you maybe if you would like to see the files and the website so you see can see what i’m working with?

    Kind regards,
    Dxzz

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Maybe configuring the webserver be our best option?

    that is always the better approach, yes.

    I can privately message you maybe if you would like to see the files and the website so you see can see what i’m working with?

    sure, you can mail the URL to futtta-at-gmail-dot-com.

    Thread Starter dxzz

    (@dxzz)

    Thanks I’m messaged you, please let me know if you have not received this.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    That is one _very_ big JS file (1.3MB, although luckily it is compressed to 377kb while transferred) you have there dxzz, you might want to try to cut down on JS used. I indeed see some lines in there that are not minified even though the filenames says so (e.g. /assets/vendor/DataTables/datatables.min.js in the theme). Best way forwards if asking the developer (theme in this case) to either minify the file or to remove the .min from the filename.

    hope this clarifies,
    frank

    Thread Starter dxzz

    (@dxzz)

    Yeah you see my issue now lol! Thanks i’ll contact the theme developers now. If you look on pagespeed insights you can see i get remove unused css now, how can i fix this? We’re trying to improve our mobile score numbers as they are low. Do you have any recommendations through the autoptimize settings maybe that may help or other plugins?

    Kind regards,
    Dxzz

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    The unused CSS is being reported as being Autoptimize’s, but AO merely aggregates all the CSS provided by your theme & plugins, so if you (really) want to tackle “remove unused CSS” then you should look into your theme & plugins (you might be able to get some improvement using e.g. “plugin organizer” to only allow plugins to work on specific pages). Moreover the unused CSS will likely be different for different pages (or parts of your site), so that would lead to different autoptimized CSS-files being loaded on different pages.

    Trying to get the CSS & JS not to be render-blocking could prove useful, look into “inline & defer CSS” for the CSS (see AO FAQ for more info), for jQuery try removing it from the JS exclusion list & test (might work, might not) and for the JS from apis.google.com try adding it to the “async javascript” field in Autoptimize Extra.

    Thread Starter dxzz

    (@dxzz)

    Thanks for your help. If i do come across the need for further help i will contact again.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    you’re welcome, feel free to leave a review of the plugin and support here! 🙂

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘GTMetrix minification score’ is closed to new replies.