not sure I understand dreamstone … based on what you write, this could be happening;
1. you enable autoptimize
2. you go the your site
3. you see the adminbar
4. you disable autoptimize
5. you don’t see the adminbar
but is autoptimize isn’t activated, it can’t be the reason of the adminbar not being visible, so I guess I misunderstood? Can you explain some more?
frank
Yes, you are right it’s OK when autoptimize isn’t activated.
But when I activate WPadminbar diapperas. Not immediatly, after a post or page editing for example. Only way to fix it temporarily – deactivate and activate autoptimize. But after post or page editing WPadminbar disapperas again.
ok, could you give the URL to your site, here or via futtta-at-gmail-dot-com so I can have a look?
I send you a letter with url
well, hard to say as I won’t ever see the admin-bar off course, but could you check if admin-bar.min.css (and dashicons.min.css) are still in the “exclude CSS from autoptimize” input form?
frank
Yes, admin-bar.min.css and dashicons.min.css are still in the “exclude CSS from autoptimize” input form. I can send you wordpress admin account if you don’t mind to look at this.
Problem solved with help of Frank Goossens.
As he said: The problem is with a WP fastest cache setting;
“Logged-in Users – Don’t show the cached version for logged-in users”
should be enabled, to prevent for logged in users (admins) don’t get the HTML with the wpadminbar in it.
Thank you!
you’re welcome dreamstone, glad it works!
frank