Support » Plugin: Autoptimize » Osano and Autoptimize not playing well together

  • Resolved Cheryl


    I was using GDPR cookie consent plugin but didn’t like the way you needed to reload to allow scripts so I went looking for a different solution and am trying out Osano (or at least trying to.) You load it by a script that looks like:

    <script src=""></script>

    It detects scripts that you categorize to either block or unblock…but autoptimize generates a bunch of /cache/ scripts…

    But my issue is that when I have Osano enabled it does a nice job at blocking ads, analytics, etc and then allowing them once the accept button is hit…however, it also blocks most of my website images, and ONLY when autoptimize is enabled. I tried excluding the above script from autoptimize, have allowed any theme files in Osano that it’s detected, but I’m not sure what else to do here…go wtih a different cookie consent provider?

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

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


    Don’t know Osano, but this sounds like lazyload not kicking in. Are you indeed using image lazy loading (in AO or with another plugin or a part of your theme options)? If so some tinkering with that might be needed. Alternatively (or additionally) I see you’re using Cloudflare RocketLoader, that might play a role as well?


    Plugin Author Optimizing Matters


    Hey tricheryltops;
    I got no feedback on this any more, so I assume this got resolved? Feel free to follow up if you still encounter issues!

    have a nice day!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.