• Resolved David13_13

    (@david13_13)


    Hello,

    I’ve tried all possible settings and it still loads the css plugin I’ve already excluded.

    I want to exclude CSS from plugin WP Mobile Menu, so I added this to the excluded CSS

    /wp-content/plugins/mobile-menu/, wp-content/cache/, wp-content/uploads/, admin-bar.min.css, dashicons.min.css

    I also tried various orders, none worked:

    wp-content/cache/, wp-content/uploads/, /wp-content/plugins/mobile-menu/, admin-bar.min.css, dashicons.min.css

    wp-content/cache/, wp-content/uploads/, admin-bar.min.css, dashicons.min.css, /wp-content/plugins/mobile-menu/

    I’ve unchecked also the “minimize CSS and JS excluded”

    So, I guess with these settings it should not minify it more. But well, it does. If I check the page adding the parameter:

    ?ao_noptimize=1

    It works well, so the problem is caused by Autoptimizer. Do you know what I’m doing wrong?

    Thanks

    • This topic was modified 4 years, 10 months ago by David13_13.
    • This topic was modified 4 years, 10 months ago by David13_13.
Viewing 11 replies - 16 through 26 (of 26 total)
  • Thread Starter David13_13

    (@david13_13)

    Thanks but in fact that is the default theme mobile menu.

    I installed WP Mobile menu plugin to have a more powerful menu. What I want is to can continue using the WP Mobile menu.

    If you check my screenshot, you can see that in my browser WP Mobile menu is loading well if AO is disabled. Can you please double check in your browser closing it completely and cleaning cache? Then you will see it.

    Thanks

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    ah, and now it works with AO on, showing another type of mobile menu then what I previously saw;

    Thread Starter David13_13

    (@david13_13)

    Yes, that’s because after doing something or update some post, it becomes active again. But after clear cache or doing another thing, it breaks again. It’s a bit random, but what is sure is that if I completely disable AO, it works.

    Thread Starter David13_13

    (@david13_13)

    So seems like your cache was not being cleaned well. Let me now try to make the error again so it’s broken and you can see that with parameter disabling AO it works.

    Give me a minutes please

    Thread Starter David13_13

    (@david13_13)

    Ok, I just visited a forum and later initiated Chrome inspector and it broken again.

    You can check it now

    Seems like it’s broken when I enable Chrome inspector in mobile tab. A bit strange. But disabling AO makes it works again.

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

    (@optimizingmatters)

    I see it is broken again, but I again see the not-fancy mobile menu and no mention of plugins/mobile-menu, also with AO disabled again and also when adding an extra parameter to make sure browser cache is not interfering;

    I am now 100% this is not due to Autoptimize David; the unoptimized page source has nothing that indicates “WP mobile menu” is active and AO can only work with what it gets :-/

    Thread Starter David13_13

    (@david13_13)

    But then how is possible that when I filter AO with the URL parameter the WP Mobile plugin worked well?

    Thanks

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    it did not for me, as you can see in above screenshot there simply was no mention of mobile menu and this is how it looks now (with yet another browser cache busting string):

    only logical conclusion; your context is different from mine, first thing would be the fact you’re logged in and I am not, and logged in users bypass (object and page) caching completely?

    (past 21h30 here, going to close shop for the day now David)

    Thread Starter David13_13

    (@david13_13)

    In fact I’m using a private tab, so I’m not logged in.

    Thanks for your time!

    Thread Starter David13_13

    (@david13_13)

    Hey,

    I can confirm that it was a problem in a setting from WP Mobile Menu. I disabled this and all worked fine:

    https://prnt.sc/saxdw6

    Thanks a lot for all your help and time!!

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    ah, happy you solved the mystery David! ??

Viewing 11 replies - 16 through 26 (of 26 total)
  • The topic ‘Exclude is not working’ is closed to new replies.