I would like to preload everything related to Header and the menus, because they are not loaded first. As you can see from the videos there is a delay of 20 seconds until the hamburger button responds to the press. In the meantime, other things are being loaded. I would like someone to help me correctly define optimization in the wp-rocket and theme settings optimization.
Go to Theme Settings > Performance > Preloader and enable it. This way, the preloader will show until the entire page, including your menu, is fully loaded, improving the user experience.