• Resolved Svictoria

    (@svictoria)


    Hi,

    thanks for the great plugin, it does help with improving pagespeed scores.
    It was working great for almost 1 month and all of a sudden it started to conflict with some of my main plugins which are very important and cannot be turned off.
    Autoptimize is not letting them load, they don’t appear on my website if I am not logged in to wp admin. Nothing really has changed on my website since I noticed this problem, no vital updates or changes.
    I am a newbie so I am pretty much clueless as to what might be the problem but I just know that when I deactivate autoptimize plugin things are working normally but when reactivate it only works when I am logged in to wp admin. I also know that it was working just fine with the same plugins like couple days ago and all of a sudden stopped.
    Can you please direct me to some troubleshooting steps? Do you have an idea on what might be going on?
    Thanks a lot!

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

    (@optimizingmatters)

    First and foremost try to identify what is breaking things by just disabling CSS or JS or HTML or Image optimization (incl. lazyload). Based on that we can see what the next steps need to be πŸ™‚

    frank

    Thread Starter Svictoria

    (@svictoria)

    Hi Frank,

    thanks so much for your prompt reply.
    So disabling the “Optimize JavaScript Code?” helps.
    What do I do next?

    Thanks a lot!

    Victoria

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, can you try disabling “aggregate JS” and instead tick “don’t aggregate but defer” + “also defer inline JS” + removing the default JS optimization exclusions?

    Thread Starter Svictoria

    (@svictoria)

    ok, so I also played with “Aggregate JS-files?
    Aggregate all linked JS-files to have them loaded non-render blocking?” option. Turned it off and plugins are working just fine but the pagespeed score is horrible:(((
    Turned on “Do not aggregate but defer?” but it did not improve the pagespeed score:((
    Any suggestions?

    Thanks!

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

    (@optimizingmatters)

    our answers crossed somewhere on the www-pipes, can you try the suggestion from my previous reply? πŸ™‚

    Thread Starter Svictoria

    (@svictoria)

    yes, just tried:)

    Optimize JavaScript Code? - ON	
    Aggregate JS-files?	- OFF
     Aggregate all linked JS-files to have them loaded non-render blocking?
    Do not aggregate but defer? - ON
     Individual JS-files will be minified and deferred, making them non-render-blocking.
     Also defer inline JS?	- ON
     Also defer inline JS. Generally this will allow all JS to be deferred, so you should remove default exclusions, test and only exclude specific items if still needed.
    Exclude scripts from Autoptimize: - REMOVED ALL EXCLUSIONS
    
    A comma-separated list of scripts you do not want optimized, for example 'whatever.js, my_var' (without the quotes). Important: when "aggregate JS-files" is on, excluded non-minified files are still minified by Autoptimize unless that option under "misc" is disabled.
    Remove Unused JavaScript?	Autoptimize combines your theme & plugins' JavaScript, but does not know what is used and what not. If Google Pagespeed Insights detects unused JavaScript, consider using a plugin like "Plugin Organizer" or similar to manage what JavaScript is added where.

    Website is working great but pagespeed score is horrible:)))

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    horrible = significantly worse then before? can you share your site’s URL, I’ll have a look at pagespeed to see what it is reporting ..

    Thread Starter Svictoria

    (@svictoria)

    it was around 70, now it is at 2:)))
    It there any private way to pass that info to you?
    Thanks a lot!

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    sure; you can mail me at futtta-at-gmail-dot-com. 18h46 here now, so I might not follow up immediately any more though .. πŸ˜‰

    Thread Starter Svictoria

    (@svictoria)

    just sent, thanks so much!

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    got it. as this is not the production-version and I assume it’s not problem if things are broken, can you switch back to the original configuration so I can compare?

    peace,
    frank

    Thread Starter Svictoria

    (@svictoria)

    done. the only thing is, I don’t have now any exceptions in:
    “Exclude scripts from Autoptimize:” box. But I assume it is not a big deal?

    Thanks!

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    but “aggregate JS” is still of now, no?

    Thread Starter Svictoria

    (@svictoria)

    no, it is on. can you please recheck? Maybe it did not save. I double-checked now and it is on.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    no, still don’t see aggregated JS in the HTML source (which is why you indeed have a higher score, not having any linked JS yields way better pagespeed scores, as JS not only has to downloaded but also parsed and executed, which has a big perf. impact on mobile).

    do you see any errors in the PHP error logfile?

    (i’m off to bed now, more tomorrow)

    • This reply was modified 4 years, 2 months ago by Optimizing Matters. Reason: saying goodnight ;-)
Viewing 15 replies - 1 through 15 (of 16 total)

The topic ‘Autoptimize and several plugins conflict?’ is closed to new replies.