• Resolved darondaron

    (@darondaron)


    Hi

    Not sure if I understand right, but when I look at Pingdom, it seems like Autoptimize is creating http requests, 4 JS and 4 CSS in my case.
    No, I know nbr or requests do not have to slow down loadtime much, but still affects speed scoring some.

    Is this normal? and what is the reason to do 8 requests? I want to learn more ??

    A sidenote. When used with AssetCleanUp plugin, it is not always working correctly when AO is activated. I see in the html that my JS are not deferred, and then I try deactivate bot ACU and AO, and sometimes I can see JS deferred again, and then it seems to work.

    Thanks!
    Best regards
    Daniel

    The page I need help with: [log in to see the link]

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

    (@optimizingmatters)

    yes, that is normal; AO removes your original CSS/ JS and replaces it with optimized (combining & minifying the original code) versions.

    re. ACU; make sure combining & minifying of CSS/ JS is off in ACU to avoid conflicts with AO.

    Thread Starter darondaron

    (@darondaron)

    Ok, thanks!

    Yes, regarding ACU, I only use AO for minifying. Do not want plugins to interfere.
    But still, there are some glitch, and I have not seen ACU being affected by it.
    Problem is for me, only way to see AO was not working properly, was when I saw JS was not deferred anymore (after installing ACU), otherwise not easy for me to discover.

    BR
    Daniel

    • This reply was modified 4 years, 2 months ago by darondaron.
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    AO’s JS is deferred when you’re aggregating JS and JS is not forced in head. If this is not happening, something in ACU’s setting is likely interfering?

    Thread Starter darondaron

    (@darondaron)

    I have never used aggregate in AO, only enabled “Do not aggregate but defer?”.

    I looked through settings now, and there was some Core emoji removal that could interfere. And perhaps (not sure) “Remove query strings from static resources” that could interfere. I did not see any other overlap.

    But could of course missed something. When it has happened and made it work, I never changed settings, just in order how the plugins was activated.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, taking a step back; does this also happen when ACU is not used?

    Thread Starter darondaron

    (@darondaron)

    Honestly can not say. Have not tried and tested without ACU. Only found the 2 times I have activated ACU (with AO activated) that when activating ACU , then AO did not defer.
    And after deactivating ACU defer worked again.
    So, I would not really know if this happens when ACU is not used, both because I want to use it, and also I do not see clear warning, unless I look for deferred JS in html.

    Sorry, have not investigated more.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    well, that strongly suggests ACU is removing the defer attribute somehow, no? maybe ask them? ??

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    have you been able to check with ACU support or have you experimented with ACU settings yourself darondaron ?

    Thread Starter darondaron

    (@darondaron)

    Have experimented with ACU and AO settings to avoid conflicts, works very well now thank you!

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    would be great if you could share some tips darondaron ? ??

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Autoptimize creates own requests’ is closed to new replies.