• Resolved Rodrigo

    (@vejapixel)


    Hello people,

    If I use the “Autoptimize” plugin is there a need to use the “Async JavaScript” plugin?

    Thank you!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter Rodrigo

    (@vejapixel)

    Another question … I saw that the plugin does image optimization too, correct? Does this feature replace own image optimization plugins like “EWWW Image Optimizer”?
    Does the plugin also switch images to webp versions?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    re. asyncjs; only if you have 3rd party JS which AO can’t optimize, in which case you can async (or defer) those.

    re. image opt.; yes it can replace EWWW and it can do webp as well.

    hope this clarifies,
    frank

    Thread Starter Rodrigo

    (@vejapixel)

    Hi Frank,

    1) If I have third-party JS, then is it recommended to use the “Async JavaScript” plugin, in which case I can use the two “Async JavaScript” and “Autoptimize” plugins?

    2) Does the plugin also have the ability to decrease HTML requests?
    And does the plugin also have Gzip compression?

    3) Another question … if I use “Autoptimize”, is there a need to use “Autoptimize criticalcss.com power-up”?

    Thank you!

    • This reply was modified 5 years, 10 months ago by Rodrigo.
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    1. yes
    2. asyncjs: no, AO yes
    3. no, as the critical CSS part is now integrated in AO proper

    frank

    Thread Starter Rodrigo

    (@vejapixel)

    After I activated Autoptimize, checking in GTMetrix is showing me that “Defer parsing of JavaScript” with a score of 0: https://prnt.sc/tmtbji

    And after I activated “Optimize images”, GTMetrix is showing me that it should remove the redirect chain: https://prnt.sc/tmtdr4

    I did the test with the two plugins enabled, “Autoptimize” and “Async JavaScript”.
    I decided to disable the “Autoptimize” plugin and redo the test on GTMetrix and the result is better: https://prnt.sc/tmtiq3
    However, without the “Autoptimize” plugin, the number of requests is much higher. As you can see in the print above, it is at 108, and before it was around 47.
    Also, the charging time, with the “Autoptimize” enabled or disabled, is practically the same, staying in about 7.5 seconds.

    I decided to do the opposite, that is, activate “Autoptimize” and disable “Async JavaScript”, and the result of GTMetrix is ​​the same: https://prnt.sc/tmtn07

    I activated the two plugins again, and again the problem of “Minimize redirects”, however the number of requests decreased a lot: https://prnt.sc/tmu1y9

    Any suggestions to fix this “Minimize redirects”?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    you’ll have to click on the “minimize redirects” to see which ones are being singled out, chances are big these are the shortpixel ones, but that should only happen the first (couple of) time(s) as at that point the image is not available on the shortpixel CDN yet. this also happens when you run out shortpixel credits by the way.

    Thread Starter Rodrigo

    (@vejapixel)

    It’s not just happening the first time. Still has the same problem: https://prnt.sc/tnkuh0 / https://prnt.sc/tnkurs

    Not all credits have been used yet: https://prnt.sc/tnkxgx

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Thread Starter Rodrigo

    (@vejapixel)

    Yes, my domain was associated with the Shortpixel account.

    I did an analysis again today, and the result got worse: https://prnt.sc/to3pr6

    Thread Starter Rodrigo

    (@vejapixel)

    In my Shortpixel account it is showing that of my 150 images/month free plan, I have already used 0 images (https://prnt.sc/to5gxr). My website already has some images, so it means that the plugin is not working.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    From what I see
    1. the HTML has the shortpixel CDN url for your images (good)
    2. the domain is indeed associated (good)
    3. but the shortpixel CDN url redirects to the original image (bad)

    But (3) is out of Autoptimize’s hands, so afraid you’ll have to contact shortpixel at https://shortpixel.com/contact and describe the issue Rodrigo.

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

The topic ‘I need to use both plugins: Autoptimize and Async JavaScript’ is closed to new replies.