Do I have to deactivate Autoptimize every time I want to edit any page in Elementor?
well, you could alternatively uncheck the “also optimize for logged in users” option?
frank (ao dev)
For what its worth, I use autoptimize and have never had the problem you describe. I am a little out of my depths here, but it should be obvious that something changed in your system. Would it have to do with a change to minified javascript? (I don’t suppose a change to css would create this problem.) Anyway, I am just thinking out loud. Another thought is whether you do anything to implement Content Security Policies?
well, you could alternatively uncheck the “also optimize for logged in users” option?
tried it, doesn’t change anything, unfortunately
tried it, doesn’t change anything, unfortunately
that’s weird; with that option deactivated AO stops optimizing front-end pages for logged-on users (that can edit pages). if you view-source the page you’re trying to edit, do you still see autoptimized CSS/ JS?
You could try to exclude autoptimize for that page. It requires custom code however, which you can find at https://pc021.info/autoptimize-on-specific-pages-wordpress-org-forums/ . Please note that I have not tried the code, nor do I know if it works. It’s just a possible suggestion.
However, @optimizingmatters suggestion is best, I think, so I would clear your caches and try that suggestion first.