When using Elementor with Autoptimize, make sure 'also optimize for logged in editors/administrators' is turned off.